diff options
Diffstat (limited to 'knode/knmainwidget.h')
-rw-r--r-- | knode/knmainwidget.h | 52 |
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; }; |