summaryrefslogtreecommitdiffstats
path: root/src/kvpnckicker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvpnckicker.h')
-rw-r--r--src/kvpnckicker.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/kvpnckicker.h b/src/kvpnckicker.h
index 60f94c5..6117d27 100644
--- a/src/kvpnckicker.h
+++ b/src/kvpnckicker.h
@@ -20,9 +20,9 @@
#ifndef __KVPNCKICKER_H__
#define __KVPNCKICKER_H__
-#include <qpixmap.h>
-#include <qwidget.h>
-#include <qevent.h>
+#include <tqpixmap.h>
+#include <tqwidget.h>
+#include <tqevent.h>
#include <ksystemtray.h>
#include <kpopupmenu.h>
@@ -30,29 +30,30 @@
class KVpncKicker : public KSystemTray {
Q_OBJECT
+ TQ_OBJECT
public:
- KVpncKicker( KVpncConfig *GlobalConfig,QWidget*parent = 0, const char *name = 0 );
+ KVpncKicker( KVpncConfig *GlobalConfig,TQWidget*parent = 0, const char *name = 0 );
~KVpncKicker();
KPopupMenu* menu();
enum status {disconnected=0, connecting=1, connected=2};
- void setStatus( int status );
+ void settqStatus( int status );
public slots:
- void closeEvent( QCloseEvent* e );
- void enterEvent( QEvent* e );
+ void closeEvent( TQCloseEvent* e );
+ void enterEvent( TQEvent* e );
protected:
void initDockWindow();
- QWidget *parent;
+ TQWidget *parent;
KVpncConfig *GlobalConfig;
private:
// color
- QColor currentStatus;
+ TQColor currenttqStatus;
// icons
- QPixmap connectedIcon;
- QPixmap disconnectedIcon;
- QPixmap connectingIcon;
+ TQPixmap connectedIcon;
+ TQPixmap disconnectedIcon;
+ TQPixmap connectingIcon;
signals:
- void closeEventKicker(QCloseEvent *e);
+ void closeEventKicker(TQCloseEvent *e);
void tooltipRequested();
};