summaryrefslogtreecommitdiffstats
path: root/ksirc/servercontroller.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/servercontroller.h')
-rw-r--r--ksirc/servercontroller.h66
1 files changed, 33 insertions, 33 deletions
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 <qdict.h>
-#include <qpixmap.h>
-#include <qheader.h>
-#include <qtimer.h>
+#include <tqdict.h>
+#include <tqpixmap.h>
+#include <tqheader.h>
+#include <tqtimer.h>
#include <klistview.h>
#include <kmainwindow.h>
@@ -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<KSircProcess> &processes() const { return proc_list; }
+ const TQDict<KSircProcess> &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<KSircProcess> proc_list;
- QPopupMenu *options, *connections;
+ TQDict<KSircProcess> 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<ChannelSessionInfo> ChannelSessionInfoList;
+ typedef TQValueList<ChannelSessionInfo> ChannelSessionInfoList;
- typedef QMap<QString, ChannelSessionInfoList> SessionConfigMap;
+ typedef TQMap<TQString, ChannelSessionInfoList> SessionConfigMap;
SessionConfigMap m_sessionConfig;
static servercontroller *s_self;
- QTimer *at;
+ TQTimer *at;
nickColourMaker *m_ncm;
};