summaryrefslogtreecommitdiffstats
path: root/ksirc/KSOpenkSirc/open_ksirc.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /ksirc/KSOpenkSirc/open_ksirc.cpp
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/KSOpenkSirc/open_ksirc.cpp')
-rw-r--r--ksirc/KSOpenkSirc/open_ksirc.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/ksirc/KSOpenkSirc/open_ksirc.cpp b/ksirc/KSOpenkSirc/open_ksirc.cpp
index d3ff7488..f005394b 100644
--- a/ksirc/KSOpenkSirc/open_ksirc.cpp
+++ b/ksirc/KSOpenkSirc/open_ksirc.cpp
@@ -1,6 +1,6 @@
/**********************************************************************
- --- Qt Architect generated file ---
+ --- TQt Architect generated file ---
File: open_ksirc.cpp
Last generated: Wed Jul 29 16:41:26 1998
@@ -35,11 +35,11 @@ TQPtrList<Server> Groups;
open_ksirc::open_ksirc
(
- TQWidget* parent,
+ TQWidget* tqparent,
const char* name
)
:
- Inherited( parent, name, true )
+ Inherited( tqparent, name, true )
{
setCaption( i18n("Connect to Server") );
@@ -137,7 +137,7 @@ void open_ksirc::insertGroupList()
Server *serv;
for ( serv=Groups.first(); serv != 0; serv=Groups.next() ) {
- if (tempgroups.find(serv->group()) == -1)
+ if (tempgroups.tqfind(serv->group()) == -1)
tempgroups.inSort( serv->group() );
}
@@ -233,7 +233,7 @@ TQString open_ksirc::encryptPassword( const TQString &password )
memcpy(result.data(), kapp->randomString(utf8Length).latin1(), utf8Length);
for (unsigned int i = 0; i < utf8Length; ++i)
result[i + utf8Length] = utf8[i] ^ result[i];
- return TQString::fromLatin1(KCodecs::base64Encode(result));
+ return TQString::tqfromLatin1(KCodecs::base64Encode(result));
}
TQString open_ksirc::decryptPassword( const TQString &scrambled )
@@ -307,8 +307,8 @@ void open_ksirc::clickConnect()
conf->setGroup("ServerList");
conf->writeEntry("StorePasswords", CheckB_StorePassword->isChecked());
TQStringList recent = conf->readListEntry("RecentServers");
- if(recent.contains(server)){
- TQStringList::Iterator it = recent.find(server);
+ if(recent.tqcontains(server)){
+ TQStringList::Iterator it = recent.tqfind(server);
recent.remove(it);
}