summaryrefslogtreecommitdiffstats
path: root/src/kvpnckicker.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 14:15:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 14:15:01 -0600
commit1b89319fd93b88313cab40f1e9de24c067b04efb (patch)
tree80132996de993c3dcab4040864d7729842875b2d /src/kvpnckicker.h
parentd08a0ede1d2cb15bb14b0ff75eacf5c682b1fa0a (diff)
downloadkvpnc-1b89319fd93b88313cab40f1e9de24c067b04efb.tar.gz
kvpnc-1b89319fd93b88313cab40f1e9de24c067b04efb.zip
Initial TQt conversion
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();
};