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/distributionlistngwidget.h | 30 ++++++++++++------------ 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kaddressbook/features/distributionlistngwidget.h') diff --git a/kaddressbook/features/distributionlistngwidget.h b/kaddressbook/features/distributionlistngwidget.h index 4a174dd8..0bfa3d29 100644 --- a/kaddressbook/features/distributionlistngwidget.h +++ b/kaddressbook/features/distributionlistngwidget.h @@ -29,7 +29,7 @@ #include -#include +#include 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 -- cgit v1.2.3