Ifdefed out setStyleDependantFrameWidth() which doesn't seem to make sense anymore. Delete if nobody complains within a reasonable timeframe.

svn path=/trunk/KDE/kdepim/; revision=800146
wilder-work
Szymon Stefanek 18 years ago
parent fa77f7e772
commit 6de6a1f46a
  1. 8
      kmmimeparttree.cpp
  2. 6
      kmmimeparttree.h

@ -55,7 +55,10 @@ KMMimePartTree::KMMimePartTree( KMReaderWin* readerWin,
: QTreeWidget( parent ),
mReaderWin( readerWin ), mLayoutColumnsOnFirstShow( false )
{
#if 0
/* FIXME: Remove this ifdefed code if nobody complains (2008.04.23) */
setStyleDependantFrameWidth();
#endif
// Setup the header
QStringList headerNames;
@ -300,6 +303,9 @@ void KMMimePartTree::slotSaveAll()
command->start();
}
#if 0
/* FIXME: Remove this ifdefed code if nobody complains (2008.04.23) */
//-----------------------------------------------------------------------------
void KMMimePartTree::setStyleDependantFrameWidth()
{
@ -319,13 +325,13 @@ void KMMimePartTree::setStyleDependantFrameWidth()
setLineWidth( frameWidth );
}
//-----------------------------------------------------------------------------
void KMMimePartTree::styleChange( QStyle& oldStyle )
{
setStyleDependantFrameWidth();
QTreeWidget::styleChange( oldStyle );
}
#endif
//-----------------------------------------------------------------------------
void KMMimePartTree::correctSize( QTreeWidgetItem * item )

@ -85,15 +85,21 @@ protected slots:
void slotCopy();
protected:
#if 0
/* FIXME: Remove this ifdefed code if nobody complains (2008.04.23) */
/** reimplemented in order to update the frame width in case of a changed
GUI style FIXME: Still needed with Qt4 ? */
virtual void styleChange( QStyle& oldStyle );
#endif
virtual void startDrag( Qt::DropActions actions );
virtual void showEvent( QShowEvent* e );
#if 0
/* FIXME: Remove this ifdefed code if nobody complains (2008.04.23) */
/** Set the width of the frame to a reasonable value for the current GUI
style */
void setStyleDependantFrameWidth();
#endif
void restoreLayoutIfPresent();
void startHandleAttachmentCommand( int action );
void saveSelectedBodyParts( bool encoded );

Loading…
Cancel
Save