summaryrefslogtreecommitdiffstats
path: root/kmail/kmmainwidget.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/kmmainwidget.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/kmmainwidget.h')
-rw-r--r--kmail/kmmainwidget.h80
1 files changed, 40 insertions, 40 deletions
diff --git a/kmail/kmmainwidget.h b/kmail/kmmainwidget.h
index c56cf813d..dd32fd7e3 100644
--- a/kmail/kmmainwidget.h
+++ b/kmail/kmmainwidget.h
@@ -23,10 +23,10 @@
#include <kurl.h>
#include <kxmlguiclient.h>
-#include <qguardedptr.h>
-#include <qlistview.h>
-#include <qvbox.h>
-#include <qvaluevector.h>
+#include <tqguardedptr.h>
+#include <tqlistview.h>
+#include <tqvbox.h>
+#include <tqvaluevector.h>
#include "kmreaderwin.h" //for inline actions
#include "kmkernel.h" // for access to config
@@ -76,7 +76,7 @@ namespace KMail {
class FavoriteFolderView;
}
-typedef QMap<int,KMFolder*> KMMenuToFolder;
+typedef TQMap<int,KMFolder*> KMMenuToFolder;
class KDE_EXPORT KMMainWidget : public QWidget
@@ -84,7 +84,7 @@ class KDE_EXPORT KMMainWidget : public QWidget
Q_OBJECT
public:
- KMMainWidget(QWidget *parent, const char *name,
+ KMMainWidget(TQWidget *parent, const char *name,
KXMLGUIClient *aGUIClient,
KActionCollection *actionCollection,
KConfig*config = KMKernel::config() );
@@ -155,7 +155,7 @@ public:
/** Returns a list of all KMMainWidgets. Warning, the list itself can be 0.
* @return the list of all main widgets, or 0 if it is not yet initialized */
- static const QValueList<KMMainWidget*>* mainWidgetList() { return s_mainWidgetList; }
+ static const TQValueList<KMMainWidget*>* mainWidgetList() { return s_mainWidgetList; }
KMSystemTray *systray() const;
@@ -244,7 +244,7 @@ public slots:
signals:
void messagesTransfered( bool );
- void captionChangeRequest( const QString & caption );
+ void captionChangeRequest( const TQString & caption );
protected:
void setupActions();
@@ -264,7 +264,7 @@ protected:
protected slots:
void slotCheckOneAccount(int);
void slotMailChecked( bool newMail, bool sendOnCheck,
- const QMap<QString, int> & newInFolder );
+ const TQMap<TQString, int> & newInFolder );
void getAccountMenu();
void getTransportMenu();
void slotHelp();
@@ -334,7 +334,7 @@ protected slots:
void slotSendQueuedVia( int item );
void slotOnlineStatus();
void slotUpdateOnlineStatus( GlobalSettings::EnumNetworkState::type );
- void slotMsgPopup(KMMessage &msg, const KURL &aUrl, const QPoint&);
+ void slotMsgPopup(KMMessage &msg, const KURL &aUrl, const TQPoint&);
void slotMarkAll();
void slotMemInfo();
void slotSearch();
@@ -383,7 +383,7 @@ protected slots:
void slotEditKeys();
/** changes the caption and displays the foldername */
- void slotChangeCaption(QListViewItem*);
+ void slotChangeCaption(TQListViewItem*);
void removeDuplicates();
void slotCustomReplyToMsg( int tid );
@@ -413,7 +413,7 @@ protected slots:
private:
/** Get override character encoding. */
- QString overrideEncoding() const;
+ TQString overrideEncoding() const;
void initializeIMAPActions( bool setState );
@@ -425,7 +425,7 @@ private:
/** Helper which finds the associated IMAP path if there is a current
* folder and it is an imap or disconnected imap one.
*/
- QString findCurrentImapPath();
+ TQString findCurrentImapPath();
void setupFolderView();
@@ -456,7 +456,7 @@ private:
*mCustomReplyAllActionMenu,
*mCustomForwardActionMenu;
// Signal mappers for custom template actions
- QSignalMapper *mCustomReplyMapper,
+ TQSignalMapper *mCustomReplyMapper,
*mCustomReplyAllMapper,
*mCustomForwardMapper;
@@ -476,32 +476,32 @@ private:
KToggleAction* mTotalColumnToggle;
KToggleAction* mSizeColumnToggle;
- QVBox *mSearchAndTree;
- QHBox *mFolderQuickSearch;
+ TQVBox *mSearchAndTree;
+ TQHBox *mFolderQuickSearch;
KMFolderTree *mFolderTree;
KMail::FavoriteFolderView *mFavoriteFolderView;
- QWidget *mFolderView;
- QSplitter *mFolderViewParent;
+ TQWidget *mFolderView;
+ TQSplitter *mFolderViewParent;
KMReaderWin *mMsgView;
- QSplitter *mPanner1, *mPanner2;
- QSplitter *mFolderViewSplitter;
+ TQSplitter *mPanner1, *mPanner2;
+ TQSplitter *mFolderViewSplitter;
KMHeaders *mHeaders;
- QVBox *mSearchAndHeaders;
+ TQVBox *mSearchAndHeaders;
KToolBar *mSearchToolBar;
KMail::HeaderListQuickSearch *mQuickSearchLine;
- QGuardedPtr<KMFolder> mFolder;
+ TQGuardedPtr<KMFolder> mFolder;
KMFolder *mTemplateFolder;
- QPopupMenu *mViewMenu, *mBodyPartsMenu;
+ TQPopupMenu *mViewMenu, *mBodyPartsMenu;
KAction *mlistFilterAction;
bool mIntegrated;
bool mBeepOnNew;
bool mConfirmEmpty;
- QString mStartupFolder;
+ TQString mStartupFolder;
int mMessageStatusId;
- QValueList<int> mPanner1Sep, mPanner2Sep;
+ TQValueList<int> mPanner1Sep, mPanner2Sep;
KURL mUrlCurrent;
QPopupMenu *mActMenu;
- QPopupMenu *mSendMenu;
+ TQPopupMenu *mSendMenu;
QPopupMenu *mFileMenu;
bool mLongFolderList;
@@ -516,7 +516,7 @@ private:
bool mEnableFolderQuickSearch;
bool mEnableQuickSearch;
-// QPopupMenu *mMessageMenu;
+// TQPopupMenu *mMessageMenu;
KMail::SearchWindow *mSearchWin;
KAction *mNewFolderAction, *mModifyFolderAction, *mRemoveFolderAction, *mExpireFolderAction,
@@ -528,25 +528,25 @@ private:
KToggleAction *mThreadBySubjectAction;
KToggleAction *mFolderAction, *mHeaderAction, *mMimeAction;
- QTimer *menutimer;
- QTimer *mShowBusySplashTimer;
+ TQTimer *menutimer;
+ TQTimer *mShowBusySplashTimer;
- QGuardedPtr<KMail::Vacation> mVacation;
+ TQGuardedPtr<KMail::Vacation> mVacation;
#if !defined(NDEBUG)
- QGuardedPtr<KMail::SieveDebugDialog> mSieveDebugDialog;
+ TQGuardedPtr<KMail::SieveDebugDialog> mSieveDebugDialog;
#endif
KActionCollection *mActionCollection;
KActionSeparator *mToolbarActionSeparator;
- QVBoxLayout *mTopLayout;
+ TQVBoxLayout *mTopLayout;
bool mDestructed, mForceJumpToUnread, mShowingOfflineScreen;
- QPtrList<KAction> mFilterMenuActions;
- QPtrList<KAction> mFilterTBarActions;
- QPtrList<KMMetaFilterActionCommand> mFilterCommands;
- QDict<FolderShortcutCommand> mFolderShortcutCommands;
- QGuardedPtr <KMail::FolderJob> mJob;
+ TQPtrList<KAction> mFilterMenuActions;
+ TQPtrList<KAction> mFilterTBarActions;
+ TQPtrList<KMMetaFilterActionCommand> mFilterCommands;
+ TQDict<FolderShortcutCommand> mFolderShortcutCommands;
+ TQGuardedPtr <KMail::FolderJob> mJob;
- QValueVector<QString> mCustomTemplates;
- QPtrList<KAction> mCustomTemplateActions;
+ TQValueVector<TQString> mCustomTemplates;
+ TQPtrList<KAction> mCustomTemplateActions;
KMSystemTray *mSystemTray;
KConfig *mConfig;
@@ -554,7 +554,7 @@ private:
KMail::MessageActions *mMsgActions;
- static QValueList<KMMainWidget*>* s_mainWidgetList;
+ static TQValueList<KMMainWidget*>* s_mainWidgetList;
KStatusBarLabel *mVacationScriptIndicator;
bool mVacationIndicatorActive;