From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:48:06 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksirc/servercontroller.h | 66 ++++++++++++++++++++++++------------------------ 1 file changed, 33 insertions(+), 33 deletions(-) (limited to 'ksirc/servercontroller.h') diff --git a/ksirc/servercontroller.h b/ksirc/servercontroller.h index 54d0292c..2f45f3b2 100644 --- a/ksirc/servercontroller.h +++ b/ksirc/servercontroller.h @@ -19,10 +19,10 @@ class dockServerController; class ServMessage; class ProcCommand; -#include -#include -#include -#include +#include +#include +#include +#include #include #include @@ -69,15 +69,15 @@ class scInside : QFrame Q_OBJECT friend class servercontroller; public: - scInside ( QWidget *parent = 0L, const char * name = 0, WFlags f=0 ); + scInside ( TQWidget *parent = 0L, const char * name = 0, WFlags f=0 ); ~scInside(); protected: - virtual void resizeEvent ( QResizeEvent * ); + virtual void resizeEvent ( TQResizeEvent * ); private: KListView *ConnectionTree; - QLabel *ASConn; + TQLabel *ASConn; }; @@ -87,23 +87,23 @@ class servercontroller : public KMainWindow friend class dockServerController; public: - servercontroller ( QWidget* parent = 0L, const char* name = NULL ); + servercontroller ( TQWidget* parent = 0L, const char* name = NULL ); virtual ~servercontroller(); - const QDict &processes() const { return proc_list; } + const TQDict &processes() const { return proc_list; } static servercontroller *self() { return s_self; } /** * Someone is talking to the user (blue icon), notify him (using the docked icon). */ - void increaseNotificationCount(const QString& reason = QString::null, const QString& text = QString::null); + void increaseNotificationCount(const TQString& reason = TQString::null, const TQString& text = TQString::null); /** * The channel in which the user was talked to, has been read. * -> decrease count of blue icons. */ - void decreaseNotificationCount(QString reason = QString::null); + void decreaseNotificationCount(TQString reason = TQString::null); /** * This resets all notificaiton counts and allows new ones @@ -122,7 +122,7 @@ signals: */ virtual void filters_update(); - void ServMessage(QString server, int command, QString args); + void ServMessage(TQString server, int command, TQString args); public slots: // All slots are described in servercontroll.cpp file @@ -136,12 +136,12 @@ public slots: virtual void new_connection(); /** * Args: - * QString: new server name or IP to connect to. + * TQString: new server name or IP to connect to. * Action: * Creates a new sirc process and window !default connected to the * server. Does nothing if a server connection already exists. */ - // virtual void new_ksircprocess(QString); + // virtual void new_ksircprocess(TQString); virtual void new_ksircprocess(KSircServer &); /** * Creates popup asking for new channel name @@ -172,11 +172,11 @@ public slots: * Opens the dialog that lets the user configure system notifications */ virtual void notification_prefs(); - virtual void font_update(const QFont&); + virtual void font_update(const TQFont&); virtual void filter_rule_editor(); virtual void configChange(); - virtual void ProcMessage(QString server, int command, QString args); + virtual void ProcMessage(TQString server, int command, TQString args); /** * On quit we sync the config to disk and exit */ @@ -191,19 +191,19 @@ public slots: void start_autoconnect_check(); - QListViewItem * findChild( QListViewItem *parent, const QString& text ); + TQListViewItem * findChild( TQListViewItem *parent, const TQString& text ); protected slots: - void WindowSelected(QListViewItem *); + void WindowSelected(TQListViewItem *); void dump_obj(); void server_debug(); protected: - virtual void showEvent( QShowEvent *e ); - virtual void hideEvent( QHideEvent *e ); - virtual void closeEvent( QCloseEvent * ); + virtual void showEvent( TQShowEvent *e ); + virtual void hideEvent( TQHideEvent *e ); + virtual void closeEvent( TQCloseEvent * ); void saveDockingStatus(); void saveGlobalProperties(KConfig *); @@ -223,19 +223,19 @@ private: // Hold a list of all KSircProcess's for access latter. Index by server // name - QDict proc_list; - QPopupMenu *options, *connections; + TQDict proc_list; + TQPopupMenu *options, *connections; int join_id, server_id; KGlobalAccel *m_kga; int open_toplevels; - QPixmap pic_icon; - QPixmap pic_server; - QPixmap pic_gf; - QPixmap pic_run; - QPixmap pic_ppl; + TQPixmap pic_icon; + TQPixmap pic_server; + TQPixmap pic_gf; + TQPixmap pic_run; + TQPixmap pic_ppl; // PukeController *PukeC; @@ -249,18 +249,18 @@ private: { ChannelSessionInfo() : desktop( -1 ) {} - QString name; - QString port; + TQString name; + TQString port; int desktop; }; - typedef QValueList ChannelSessionInfoList; + typedef TQValueList ChannelSessionInfoList; - typedef QMap SessionConfigMap; + typedef TQMap SessionConfigMap; SessionConfigMap m_sessionConfig; static servercontroller *s_self; - QTimer *at; + TQTimer *at; nickColourMaker *m_ncm; }; -- cgit v1.2.1