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/searchwindow.h | 54 ++++++++++++++++++++++++++-------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'kmail/searchwindow.h') diff --git a/kmail/searchwindow.h b/kmail/searchwindow.h index 62c6e6ce3..ac0b203c4 100644 --- a/kmail/searchwindow.h +++ b/kmail/searchwindow.h @@ -21,11 +21,11 @@ #ifndef searchwindow_h #define searchwindow_h -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include #include @@ -55,7 +55,7 @@ namespace KMail { class FolderRequester; } -typedef QPtrList KMMessageList; +typedef TQPtrList KMMessageList; namespace KMail { @@ -109,15 +109,15 @@ protected slots: virtual void slotClose(); virtual void slotSearch(); virtual void slotStop(); - void scheduleRename( const QString &); + void scheduleRename( const TQString &); void renameSearchFolder(); void openSearchFolder(); void folderInvalidated(KMFolder *); - virtual bool slotShowMsg(QListViewItem *); + virtual bool slotShowMsg(TQListViewItem *); void slotShowSelectedMsg(); - void slotCurrentChanged(QListViewItem *); + void slotCurrentChanged(TQListViewItem *); virtual void updateContextMenuActions(); - virtual void slotContextMenuRequested( QListViewItem*, const QPoint &, int ); + virtual void slotContextMenuRequested( TQListViewItem*, const TQPoint &, int ); virtual void copySelectedToFolder( int menuId ); virtual void moveSelectedToFolder( int menuId ); virtual void slotFolderActivated(); @@ -146,10 +146,10 @@ protected slots: protected: /** Reimplemented to react to Escape. */ - virtual void keyPressEvent(QKeyEvent*); + virtual void keyPressEvent(TQKeyEvent*); /** Reimplemented to stop searching when the window is closed */ - virtual void closeEvent(QCloseEvent*); + virtual void closeEvent(TQCloseEvent*); protected: bool mStopped; @@ -157,31 +157,31 @@ protected: int mFetchingInProgress; int mSortColumn; SortOrder mSortOrder; - QGuardedPtr mFolder; - QTimer *mTimer; + TQGuardedPtr mFolder; + TQTimer *mTimer; // GC'd by Qt - QRadioButton *mChkbxAllFolders; - QRadioButton *mChkbxSpecificFolders; + TQRadioButton *mChkbxAllFolders; + TQRadioButton *mChkbxSpecificFolders; KMail::FolderRequester *mCbxFolders; - QPushButton *mBtnSearch; - QPushButton *mBtnStop; - QCheckBox *mChkSubFolders; + TQPushButton *mBtnSearch; + TQPushButton *mBtnStop; + TQCheckBox *mChkSubFolders; KListView* mLbxMatches; - QLabel *mSearchFolderLbl; - QLineEdit *mSearchFolderEdt; - QPushButton *mSearchFolderOpenBtn; - QPushButton *mSearchResultOpenBtn; + TQLabel *mSearchFolderLbl; + TQLineEdit *mSearchFolderEdt; + TQPushButton *mSearchFolderOpenBtn; + TQPushButton *mSearchResultOpenBtn; KStatusBar* mStatusBar; - QWidget* mLastFocus; // to remember the position of the focus - QMap mMenuToFolder; + TQWidget* mLastFocus; // to remember the position of the focus + TQMap mMenuToFolder; KAction *mReplyAction, *mReplyAllAction, *mReplyListAction, *mSaveAsAction, *mForwardInlineAction, *mForwardAttachedAction, *mForwardDigestAction, *mRedirectAction, *mPrintAction, *mClearAction, *mSaveAtchAction, *mCopyAction, *mCutAction; KActionMenu *mForwardActionMenu; - QValueList > mFolders; - QTimer mRenameTimer; + TQValueList > mFolders; + TQTimer mRenameTimer; // not owned by us KMMainWidget* mKMMainWidget; -- cgit v1.2.1