Depend on kdepimlibs 4.7 and drop no longer needed compat code.

wilder-work
Volker Krause 15 years ago
parent 3cafe8cf1d
commit b7cded547d
  1. 8
      mailinglistpropertiesdialog.cpp
  2. 6
      mailinglistpropertiesdialog.h

@ -37,11 +37,7 @@
#include <kcombobox.h>
#include <klocale.h>
#if KDE_IS_VERSION( 4, 5, 74 )
#include <keditlistwidget.h>
#else
#include <keditlistbox.h>
#endif
#include <kdebug.h>
#include <kmessagebox.h>
#include <kmcommands.h>
@ -144,11 +140,7 @@ MailingListFolderPropertiesDialog::MailingListFolderPropertiesDialog( QWidget* p
}
groupLayout->addWidget( handleButton, 6, 2 );
#if KDE_IS_VERSION( 4, 5, 74 )
mEditList = new KEditListWidget( mlGroup );
#else
mEditList = new KEditListBox( mlGroup );
#endif
mEditList->setEnabled( false );
groupLayout->addWidget( mEditList, 7, 0, 1, 4 );

@ -30,14 +30,12 @@
#define MAILINGLISTPROPERTIESDIALOG_H
#include "messagecore/mailinglist.h"
#include <kdeversion.h>
#include <kdialog.h>
#include "foldercollection.h"
class QCheckBox;
class QPushButton;
class QLabel;
class KComboBox;
class KEditListBox;
class KEditListWidget;
namespace KMail
@ -79,11 +77,7 @@ private:
QPushButton *mDetectButton;
KComboBox *mAddressCombo;
int mLastItem;
#if KDE_IS_VERSION( 4, 5, 74 )
KEditListWidget *mEditList;
#else
KEditListBox *mEditList;
#endif
QLabel *mMLId;
MailingList mMailingList;
}; // End of class MailingListFolderProperties

Loading…
Cancel
Save