summaryrefslogtreecommitdiffstats
path: root/ksirc/ksirc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksirc/ksirc.cpp')
-rw-r--r--ksirc/ksirc.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/ksirc/ksirc.cpp b/ksirc/ksirc.cpp
index eddb450a..88abb6d6 100644
--- a/ksirc/ksirc.cpp
+++ b/ksirc/ksirc.cpp
@@ -15,7 +15,7 @@
#include <stdlib.h>
-#include <qsessionmanager.h>
+#include <tqsessionmanager.h>
#include <kuniqueapplication.h>
#include <kaboutdata.h>
@@ -32,8 +32,8 @@
static const char description[] =
I18N_NOOP("KDE IRC client");
-//QDict<KSircTopLevel> TopList;
-//QDict<KSircMessageReceiver> TopList;
+//TQDict<KSircTopLevel> TopList;
+//TQDict<KSircMessageReceiver> TopList;
class KCmdLineOptions options[] =
{
@@ -58,8 +58,8 @@ public:
// if the controller is hidden KMWSessionManaged won't send the fake close event.
// we want it in any way however.
if ( controller->isHidden() ) {
- QCloseEvent e;
- QApplication::sendEvent( controller, &e );
+ TQCloseEvent e;
+ TQApplication::sendEvent( controller, &e );
}
return true;
@@ -110,16 +110,16 @@ extern "C" KDE_EXPORT int kdemain( int argc, char ** argv )
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
- QCString nickName = args->getOption( "nick" );
- QCString server = args->getOption( "server" );
- QCString channel = args->getOption( "channel" );
+ TQCString nickName = args->getOption( "nick" );
+ TQCString server = args->getOption( "server" );
+ TQCString channel = args->getOption( "channel" );
if ( !nickName.isEmpty() )
ksopts->server["global"].nick = nickName;
if ( !server.isEmpty() ) {
- QString ser = QString::fromLocal8Bit( server );
- QString port = "6667";
+ TQString ser = TQString::fromLocal8Bit( server );
+ TQString port = "6667";
if(ser.contains(":")){
port = ser.section(":", 1, 1);
ser = ser.section(":", 0, 0);
@@ -127,9 +127,9 @@ extern "C" KDE_EXPORT int kdemain( int argc, char ** argv )
KSircServer kss(ser, port, "", "", false);
sc->new_ksircprocess( kss );
if ( !channel.isEmpty() ) {
- QStringList channels = QStringList::split( ',', QString::fromLocal8Bit( channel ) );
- QStringList::ConstIterator it = channels.begin();
- QStringList::ConstIterator end = channels.end();
+ TQStringList channels = TQStringList::split( ',', TQString::fromLocal8Bit( channel ) );
+ TQStringList::ConstIterator it = channels.begin();
+ TQStringList::ConstIterator end = channels.end();
for ( ; it != end; ++it ) {
sc->new_toplevel( KSircChannel(ser, *it), true );
}