summaryrefslogtreecommitdiffstats
path: root/kmail/searchwindow.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kmail/searchwindow.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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/searchwindow.h')
-rw-r--r--kmail/searchwindow.h54
1 files changed, 27 insertions, 27 deletions
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 <qvaluelist.h>
-#include <qptrlist.h>
-#include <qstringlist.h>
-#include <qguardedptr.h>
-#include <qtimer.h>
+#include <tqvaluelist.h>
+#include <tqptrlist.h>
+#include <tqstringlist.h>
+#include <tqguardedptr.h>
+#include <tqtimer.h>
#include <kdialogbase.h>
#include <kxmlguiclient.h>
@@ -55,7 +55,7 @@ namespace KMail {
class FolderRequester;
}
-typedef QPtrList<KMMsgBase> KMMessageList;
+typedef TQPtrList<KMMsgBase> 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<KMFolderSearch> mFolder;
- QTimer *mTimer;
+ TQGuardedPtr<KMFolderSearch> 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<int,KMFolder*> mMenuToFolder;
+ TQWidget* mLastFocus; // to remember the position of the focus
+ TQMap<int,KMFolder*> mMenuToFolder;
KAction *mReplyAction, *mReplyAllAction, *mReplyListAction, *mSaveAsAction,
*mForwardInlineAction, *mForwardAttachedAction, *mForwardDigestAction,
*mRedirectAction, *mPrintAction, *mClearAction, *mSaveAtchAction,
*mCopyAction, *mCutAction;
KActionMenu *mForwardActionMenu;
- QValueList<QGuardedPtr<KMFolder> > mFolders;
- QTimer mRenameTimer;
+ TQValueList<TQGuardedPtr<KMFolder> > mFolders;
+ TQTimer mRenameTimer;
// not owned by us
KMMainWidget* mKMMainWidget;