diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kaddressbook/features/distributionlistwidget.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kaddressbook/features/distributionlistwidget.h')
-rw-r--r-- | kaddressbook/features/distributionlistwidget.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/kaddressbook/features/distributionlistwidget.h b/kaddressbook/features/distributionlistwidget.h index d52a06ab0..4ee5e76ad 100644 --- a/kaddressbook/features/distributionlistwidget.h +++ b/kaddressbook/features/distributionlistwidget.h @@ -50,17 +50,17 @@ class DistributionListWidget : public KAB::ExtensionWidget Q_OBJECT public: - DistributionListWidget( KAB::Core*, QWidget *parent, const char *name = 0 ); + DistributionListWidget( KAB::Core*, TQWidget *parent, const char *name = 0 ); virtual ~DistributionListWidget(); void contactsSelectionChanged(); - QString title() const; - QString identifier() const; + TQString title() const; + TQString identifier() const; public slots: void save(); - void dropped( QDropEvent*, QListViewItem* ); + void dropped( TQDropEvent*, TQListViewItem* ); void removeContact(); @@ -80,25 +80,25 @@ class DistributionListWidget : public KAB::ExtensionWidget #else void changed(); #endif - bool alreadyExists( const QString& distrListName ) const; + bool alreadyExists( const TQString& distrListName ) const; protected: - void dropEvent( QDropEvent* ); + void dropEvent( TQDropEvent* ); private: - QComboBox *mNameCombo; - QLabel *mEntryCountLabel; + TQComboBox *mNameCombo; + TQLabel *mEntryCountLabel; DistributionListView *mContactView; #ifndef KDEPIM_NEW_DISTRLISTS KABC::DistributionListManager *mManager; #endif - QPushButton *mCreateListButton; - QPushButton *mEditListButton; - QPushButton *mRemoveListButton; - QPushButton *mChangeEmailButton; - QPushButton *mAddContactButton; - QPushButton *mRemoveContactButton; + TQPushButton *mCreateListButton; + TQPushButton *mEditListButton; + TQPushButton *mRemoveListButton; + TQPushButton *mChangeEmailButton; + TQPushButton *mAddContactButton; + TQPushButton *mRemoveContactButton; }; /** @@ -109,13 +109,13 @@ class DistributionListView : public KListView Q_OBJECT public: - DistributionListView( QWidget *parent, const char* name = 0 ); + DistributionListView( TQWidget *parent, const char* name = 0 ); protected: - void dragEnterEvent( QDragEnterEvent *e ); - void dropEvent( QDropEvent *e ); - void viewportDragMoveEvent( QDragMoveEvent *e ); - void viewportDropEvent( QDropEvent *e ); + void dragEnterEvent( TQDragEnterEvent *e ); + void dropEvent( TQDropEvent *e ); + void viewportDragMoveEvent( TQDragMoveEvent *e ); + void viewportDropEvent( TQDropEvent *e ); }; /** @@ -124,17 +124,17 @@ class DistributionListView : public KListView class EmailSelector : public KDialogBase { public: - EmailSelector( const QStringList &emails, const QString ¤t, - QWidget *parent ); + EmailSelector( const TQStringList &emails, const TQString ¤t, + TQWidget *parent ); - QString selected() const; + TQString selected() const; - static QString getEmail( const QStringList &emails, const QString ¤t, - QWidget *parent, bool &canceled ); + static TQString getEmail( const TQStringList &emails, const TQString ¤t, + TQWidget *parent, bool &canceled ); private: - QButtonGroup *mButtonGroup; - QMap<int, QString> mEmailMap; + TQButtonGroup *mButtonGroup; + TQMap<int, TQString> mEmailMap; }; #endif |