summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c599ea5..7c45fcf 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -27,30 +27,30 @@
#include <klocale.h>
#include <dcopclient.h>
-#include <qstring.h>
+#include <tqstring.h>
// App includes
#include "kvpnc.h"
static const char *description =
I18N_NOOP ( "KDE frontend for various vpn clients\nCurrently supported protocols:\n* Cisco (vpnc (free), vpnclient (propritary))\n* IPSec (FreeS/WAN, Openswan, strongSwan, racoon)\n* PPTP\n* OpenVPN\n* L2TP (l2tpd, xl2tpd, openl2tp) over IPSec (racoon, FreeS/WAN, Openswan, strongSwan)\n* Vtun\n* SSH" );
-// QDate().fromString(, Qt::LocalDate ).toString( "yyyyMMdd" )
-QString date ( __DATE__ );
-QString day= date.section ( ' ',0,0 );
-QString month= QString().setNum ( QDate::fromString ( date.section ( ' ',0,0 ),Qt::ISODate ).month() );
-QString year= date.section ( ' ',2,2 );
+// TQDate().fromString(, Qt::LocalDate ).toString( "yyyyMMdd" )
+TQString date ( __DATE__ );
+TQString day= date.section ( ' ',0,0 );
+TQString month= TQString().setNum ( TQDate::fromString ( date.section ( ' ',0,0 ),Qt::ISODate ).month() );
+TQString year= date.section ( ' ',2,2 );
-QString currentdate ( "+SVN(" + date+" "+ QTime().fromString ( QString ( __TIME__ ) ).toString ( "hhmm" ) + ")" );
+TQString currentdate ( "+SVN(" + date+" "+ TQTime().fromString ( TQString ( __TIME__ ) ).toString ( "hhmm" ) + ")" );
#define __is_release__
-QString versionstring1 = "0.9.6";
+TQString versionstring1 = "0.9.6";
#ifdef __is_release__
static const char *KVPNCVERSION = versionstring1.ascii();
-QString versionstring =QString ( KVPNCVERSION );
+TQString versionstring =TQString ( KVPNCVERSION );
#else
-QString versionstring = versionstring1 + QString (" KDE3 ") + currentdate;
+TQString versionstring = versionstring1 + TQString (" KDE3 ") + currentdate;
static const char *KVPNCVERSION = versionstring.ascii() ;
#endif
@@ -146,12 +146,12 @@ int main ( int argc, char *argv[] )
if ( args->isSet ( "openvpnimport" ) )
{
- QString openvpnimportfile = QString ( args->getOption ( "openvpnimport" ) );
+ TQString openvpnimportfile = TQString ( args->getOption ( "openvpnimport" ) );
kvpnc->importOpenvpnProfileClicked ( openvpnimportfile );
}
else if ( args->isSet ( "ciscoimport" ) )
{
- QString ciscoimportfile = QString ( args->getOption ( "ciscoimport" ) );
+ TQString ciscoimportfile = TQString ( args->getOption ( "ciscoimport" ) );
kvpnc->importOpenvpnProfileClicked ( ciscoimportfile );
}