summaryrefslogtreecommitdiffstats
path: root/knode/knmainwidget.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 /knode/knmainwidget.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 'knode/knmainwidget.h')
-rw-r--r--knode/knmainwidget.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/knode/knmainwidget.h b/knode/knmainwidget.h
index 2b3660bd7..19f2b4aaf 100644
--- a/knode/knmainwidget.h
+++ b/knode/knmainwidget.h
@@ -20,7 +20,7 @@
#include <kdialogbase.h>
#include "resource.h"
-#include <qglobal.h>
+#include <tqglobal.h>
#include <kdepimmacros.h>
class QListViewItem;
@@ -64,7 +64,7 @@ class KDE_EXPORT KNMainWidget : public KDockArea, virtual public KNodeIface
{
Q_OBJECT
public:
- KNMainWidget( KXMLGUIClient *client, bool detachable, QWidget* parent, const char* name );
+ KNMainWidget( KXMLGUIClient *client, bool detachable, TQWidget* parent, const char* name );
~KNMainWidget();
/** exit */
@@ -72,8 +72,8 @@ public:
void prepareShutdown();
//GUI
- void setStatusMsg(const QString& = QString::null, int id=SB_MAIN);
- void setStatusHelpMsg(const QString& text);
+ void setStatusMsg(const TQString& = TQString::null, int id=SB_MAIN);
+ void setStatusHelpMsg(const TQString& text);
void updateCaption();
void setCursorBusy(bool b=true);
void blockUI(bool b=true);
@@ -82,7 +82,7 @@ public:
void secureProcessEvents();
/** useful default value */
- virtual QSize sizeHint() const;
+ virtual TQSize sizeHint() const;
/** handle URL given as command-line argument */
void openURL(const KURL &url);
@@ -155,7 +155,7 @@ public:
//end dcop interface
signals:
- void signalCaptionChangeRequest( const QString& );
+ void signalCaptionChangeRequest( const TQString& );
protected:
@@ -173,19 +173,19 @@ protected:
bool requestShutdown();
- virtual void showEvent(QShowEvent *);
+ virtual void showEvent(TQShowEvent *);
/** update appearance */
- virtual void fontChange( const QFont & );
- virtual void paletteChange ( const QPalette & );
+ virtual void fontChange( const TQFont & );
+ virtual void paletteChange ( const TQPalette & );
- bool eventFilter(QObject *, QEvent *);
+ bool eventFilter(TQObject *, TQEvent *);
// convenience methods...
- void getSelectedArticles( QValueList<KNArticle*> &l );
- void getSelectedArticles( QValueList<KNRemoteArticle*> &l );
- void getSelectedThreads( QValueList<KNRemoteArticle*> &l );
- void getSelectedArticles( QValueList<KNLocalArticle*> &l );
+ void getSelectedArticles( TQValueList<KNArticle*> &l );
+ void getSelectedArticles( TQValueList<KNRemoteArticle*> &l );
+ void getSelectedThreads( TQValueList<KNRemoteArticle*> &l );
+ void getSelectedArticles( TQValueList<KNLocalArticle*> &l );
void closeCurrentThread();
//GUI
@@ -197,7 +197,7 @@ protected:
KDockWidget *c_olDock, *h_drDock, *a_rtDock;
bool b_lockui;
KToolBar *q_uicksearch;
- QLineEdit *s_earchLineEdit;
+ TQLineEdit *s_earchLineEdit;
//Core
KNConfigManager *c_fgManager;
@@ -214,15 +214,15 @@ protected:
protected slots:
//listview slots
- void slotArticleSelected(QListViewItem*);
+ void slotArticleSelected(TQListViewItem*);
void slotArticleSelectionChanged();
- void slotCollectionSelected(QListViewItem*);
- void slotCollectionRenamed(QListViewItem*);
- void slotCollectionViewDrop(QDropEvent* e, KNCollectionViewItem* after);
- void slotArticleRMB(KListView*, QListViewItem *i, const QPoint &p);
- void slotCollectionRMB(KListView*, QListViewItem *i, const QPoint &p);
+ void slotCollectionSelected(TQListViewItem*);
+ void slotCollectionRenamed(TQListViewItem*);
+ void slotCollectionViewDrop(TQDropEvent* e, KNCollectionViewItem* after);
+ void slotArticleRMB(KListView*, TQListViewItem *i, const TQPoint &p);
+ void slotCollectionRMB(KListView*, TQListViewItem *i, const TQPoint &p);
/** Open selected article in own composer/reader window */
- void slotOpenArticle(QListViewItem *item);
+ void slotOpenArticle(TQListViewItem *item);
void slotHdrViewSortingChanged(int i);
//network slots
@@ -233,7 +233,7 @@ protected slots:
void slotGroupDockHidden();
void slotHeaderDockHidden();
void slotArticleDockHidden();
- void slotDockWidgetFocusChangeRequest(QWidget *w);
+ void slotDockWidgetFocusChangeRequest(TQWidget *w);
//---------------------------------- <Actions> ----------------------------------
@@ -414,11 +414,11 @@ class FetchArticleIdDlg : public KDialogBase
{
Q_OBJECT
public:
- FetchArticleIdDlg(QWidget *parent, const char */*name*/ );
- QString messageId() const;
+ FetchArticleIdDlg(TQWidget *parent, const char */*name*/ );
+ TQString messageId() const;
protected slots:
- void slotTextChanged(const QString & );
+ void slotTextChanged(const TQString & );
protected:
KLineEdit *edit;
};