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 --- kmail/favoritefolderview.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kmail/favoritefolderview.h') diff --git a/kmail/favoritefolderview.h b/kmail/favoritefolderview.h index 6958a732a..f19dd5d79 100644 --- a/kmail/favoritefolderview.h +++ b/kmail/favoritefolderview.h @@ -29,7 +29,7 @@ class FavoriteFolderViewItem : public KMFolderTreeItem { Q_OBJECT public: - FavoriteFolderViewItem( FavoriteFolderView *parent, const QString & name, KMFolder* folder ); + FavoriteFolderViewItem( FavoriteFolderView *parent, const TQString & name, KMFolder* folder ); protected: bool useTopLevelIcon() const { return false; } @@ -39,7 +39,7 @@ class FavoriteFolderViewItem : public KMFolderTreeItem void nameChanged(); private: - QString mOldName; + TQString mOldName; }; class FavoriteFolderView : public FolderTreeBase @@ -47,14 +47,14 @@ class FavoriteFolderView : public FolderTreeBase Q_OBJECT public: - FavoriteFolderView( KMMainWidget *mainWidget, QWidget *parent = 0 ); + FavoriteFolderView( KMMainWidget *mainWidget, TQWidget *parent = 0 ); ~FavoriteFolderView(); void readConfig(); void writeConfig(); - KMFolderTreeItem* addFolder( KMFolder *folder, const QString &name = QString::null, - QListViewItem *after = 0 ); + KMFolderTreeItem* addFolder( KMFolder *folder, const TQString &name = TQString::null, + TQListViewItem *after = 0 ); void addFolder( KMFolderTreeItem *fti ); public slots: @@ -62,21 +62,21 @@ class FavoriteFolderView : public FolderTreeBase void checkMail(); protected: - bool acceptDrag(QDropEvent* e) const; - void contentsDragEnterEvent( QDragEnterEvent *e ); + bool acceptDrag(TQDropEvent* e) const; + void contentsDragEnterEvent( TQDragEnterEvent *e ); void readColorConfig(); private: - static QString prettyName( KMFolderTreeItem* fti ); + static TQString prettyName( KMFolderTreeItem* fti ); KMFolderTreeItem* findFolderTreeItem( KMFolder* folder ) const; void handleGroupwareFolder( KMFolderTreeItem *fti ); private slots: void selectionChanged(); - void itemClicked( QListViewItem *item ); + void itemClicked( TQListViewItem *item ); void folderRemoved( KMFolder *folder ); - void dropped( QDropEvent *e, QListViewItem *after ); - void contextMenu( QListViewItem *item, const QPoint &point ); + void dropped( TQDropEvent *e, TQListViewItem *after ); + void contextMenu( TQListViewItem *item, const TQPoint &point ); void removeFolder(); void initializeFavorites(); void renameFolder(); @@ -86,7 +86,7 @@ class FavoriteFolderView : public FolderTreeBase private: KMFolderTreeItem* mContextMenuItem; - static QValueList mInstances; + static TQValueList mInstances; bool mReadingConfig; }; -- cgit v1.2.1