From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kaddressbook/features/distributionlistwidget.h | 52 +++++++++++++------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'kaddressbook/features/distributionlistwidget.h') diff --git a/kaddressbook/features/distributionlistwidget.h b/kaddressbook/features/distributionlistwidget.h index d52a06ab..4ee5e76a 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 mEmailMap; + TQButtonGroup *mButtonGroup; + TQMap mEmailMap; }; #endif -- cgit v1.2.3