summaryrefslogtreecommitdiffstats
path: root/src/kvpnckicker.cpp
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.cpp
parentd08a0ede1d2cb15bb14b0ff75eacf5c682b1fa0a (diff)
downloadkvpnc-1b89319fd93b88313cab40f1e9de24c067b04efb.tar.gz
kvpnc-1b89319fd93b88313cab40f1e9de24c067b04efb.zip
Initial TQt conversion
Diffstat (limited to 'src/kvpnckicker.cpp')
-rw-r--r--src/kvpnckicker.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kvpnckicker.cpp b/src/kvpnckicker.cpp
index 7f24699..bf452ee 100644
--- a/src/kvpnckicker.cpp
+++ b/src/kvpnckicker.cpp
@@ -18,8 +18,8 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
-#include <qtooltip.h>
-#include <qimage.h>
+#include <tqtooltip.h>
+#include <tqimage.h>
#include <klocale.h>
#include <kiconloader.h>
#include <kaction.h>
@@ -27,7 +27,7 @@
#include "kvpnckicker.h"
#include "kvpnc.h"
-KVpncKicker::KVpncKicker( KVpncConfig *GlobalConfig,QWidget* parent, const char *name )
+KVpncKicker::KVpncKicker( KVpncConfig *GlobalConfig,TQWidget* parent, const char *name )
: KSystemTray( parent, name ) {
this->parent = parent;
this->initDockWindow();
@@ -35,31 +35,31 @@ KVpncKicker::KVpncKicker( KVpncConfig *GlobalConfig,QWidget* parent, const char
KAction *quit = actionCollection()->action( "file_quit" );
quit->disconnect();
KVpnc *myParent = static_cast<KVpnc *>( parent );
- connect( quit, SIGNAL( activated() ), myParent, SLOT( quitCalledKicker() ) );
+ connect( quit, TQT_SIGNAL( activated() ), myParent, TQT_SLOT( quitCalledKicker() ) );
show();
}
KVpncKicker::~KVpncKicker() {}
-void KVpncKicker::closeEvent( QCloseEvent *e )
+void KVpncKicker::closeEvent( TQCloseEvent *e )
{
if ( GlobalConfig->KvpncDebugLevel > 1 )
- GlobalConfig->appendLogEntry ( i18n ( "CloseEvent recieved (reciever: %1)." ).arg("kvpnckicker"), GlobalConfig->debug );
+ GlobalConfig->appendLogEntry ( i18n ( "CloseEvent recieved (reciever: %1)." ).tqarg("kvpnckicker"), GlobalConfig->debug );
emit closeEventKicker(e);
}
-void KVpncKicker::enterEvent( QEvent* e )
+void KVpncKicker::enterEvent( TQEvent* e )
{
- if (e->type() == QEvent::Enter)
+ if (e->type() == TQEvent::Enter)
emit tooltipRequested();
KSystemTray::enterEvent(e);
}
-void KVpncKicker::setStatus( int status ) {
+void KVpncKicker::settqStatus( int status ) {
if ( status == connecting ) {
setPixmap( connectingIcon );
}
@@ -76,7 +76,7 @@ void KVpncKicker::initDockWindow() {
connectingIcon = loadIcon( "connecting" );
//setFixedSize( DOCK_WIDTH, DOCK_HEIGHT );
setPixmap( disconnectedIcon );
- QToolTip::add(this, i18n("Disconnected"));
+ TQToolTip::add(this, i18n("Disconnected"));
}
KPopupMenu* KVpncKicker::menu() {