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/distributionlistngwidget.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/distributionlistngwidget.h')
-rw-r--r-- | kaddressbook/features/distributionlistngwidget.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kaddressbook/features/distributionlistngwidget.h b/kaddressbook/features/distributionlistngwidget.h index 4a174dd83..0bfa3d29d 100644 --- a/kaddressbook/features/distributionlistngwidget.h +++ b/kaddressbook/features/distributionlistngwidget.h @@ -29,7 +29,7 @@ #include <klistbox.h> -#include <qstringlist.h> +#include <tqstringlist.h> class QDragEnterEvent; class QDragMoveEvent; @@ -48,19 +48,19 @@ class ListBox : public KListBox { Q_OBJECT public: - ListBox( QWidget* parent = 0 ); + ListBox( TQWidget* parent = 0 ); signals: - void dropped( const QString &listName, const KABC::Addressee::List &addressees ); + void dropped( const TQString &listName, const KABC::Addressee::List &addressees ); protected: //override - void dragEnterEvent( QDragEnterEvent *event ); + void dragEnterEvent( TQDragEnterEvent *event ); //override - void dragMoveEvent( QDragMoveEvent *event ); + void dragMoveEvent( TQDragMoveEvent *event ); //override - void dropEvent( QDropEvent *event ); + void dropEvent( TQDropEvent *event ); }; class MainWidget : public KAB::ExtensionWidget @@ -68,13 +68,13 @@ class MainWidget : public KAB::ExtensionWidget Q_OBJECT public: - explicit MainWidget( KAB::Core *core, QWidget *parent = 0, const char *name = 0 ); + explicit MainWidget( KAB::Core *core, TQWidget *parent = 0, const char *name = 0 ); //impl - QString title() const; + TQString title() const; //impl - QString identifier() const; + TQString identifier() const; private: @@ -85,17 +85,17 @@ private slots: void deleteSelectedDistributionList(); void editSelectedDistributionList(); - void contextMenuRequested( QListBoxItem *item, const QPoint &point ); + void contextMenuRequested( TQListBoxItem *item, const TQPoint &point ); void updateEntries(); void itemSelected( int index ); - void contactsDropped( const QString &listName, const KABC::Addressee::List &addressees ); + void contactsDropped( const TQString &listName, const KABC::Addressee::List &addressees ); private: ListBox *mListBox; - QStringList mCurrentEntries; - QPushButton *mAddButton; - QPushButton *mEditButton; - QPushButton *mRemoveButton; + TQStringList mCurrentEntries; + TQPushButton *mAddButton; + TQPushButton *mEditButton; + TQPushButton *mRemoveButton; }; } // namespace DistributionListNg |