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 /kmail/foldertreebase.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 'kmail/foldertreebase.h')
-rw-r--r-- | kmail/foldertreebase.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/foldertreebase.h b/kmail/foldertreebase.h index 4e14a5a22..bc2ad0ccc 100644 --- a/kmail/foldertreebase.h +++ b/kmail/foldertreebase.h @@ -30,13 +30,13 @@ class FolderTreeBase : public KFolderTree { Q_OBJECT public: - FolderTreeBase( KMMainWidget *mainWidget, QWidget *parent = 0, const char *name = 0 ); + FolderTreeBase( KMMainWidget *mainWidget, TQWidget *parent = 0, const char *name = 0 ); /** Returns the main widget that this widget is a child of. */ KMMainWidget* mainWidget() const { return mMainWidget; } /** Find index of given folder. Returns 0 if not found */ - virtual QListViewItem* indexOfFolder( const KMFolder* folder ) const + virtual TQListViewItem* indexOfFolder( const KMFolder* folder ) const { if ( mFolderToItem.contains( folder ) ) return mFolderToItem[ folder ]; @@ -44,7 +44,7 @@ class FolderTreeBase : public KFolderTree return 0; } - void insertIntoFolderToItemMap( const KMFolder *folder, QListViewItem* item ) + void insertIntoFolderToItemMap( const KMFolder *folder, TQListViewItem* item ) { mFolderToItem.insert( folder, item ); } @@ -74,10 +74,10 @@ class FolderTreeBase : public KFolderTree DRAG_CANCEL = 2 }; int dndMode( bool alwaysAsk = false ); - void contentsDropEvent( QDropEvent *e ); + void contentsDropEvent( TQDropEvent *e ); /** Catch palette changes */ - virtual bool event(QEvent *e); + virtual bool event(TQEvent *e); /** Read color options and set palette. */ virtual void readColorConfig(); @@ -86,11 +86,11 @@ class FolderTreeBase : public KFolderTree bool hideLocalInbox() const; /** Handle drop of a MailList object. */ - void handleMailListDrop( QDropEvent *event, KMFolder *destination ); + void handleMailListDrop( TQDropEvent *event, KMFolder *destination ); protected: KMMainWidget *mMainWidget; - QMap<const KMFolder*, QListViewItem*> mFolderToItem; + TQMap<const KMFolder*, TQListViewItem*> mFolderToItem; }; } |