summaryrefslogtreecommitdiffstats
path: root/ksirc/KSPrefs/page_startup.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/KSPrefs/page_startup.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/KSPrefs/page_startup.cpp')
-rw-r--r--ksirc/KSPrefs/page_startup.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksirc/KSPrefs/page_startup.cpp b/ksirc/KSPrefs/page_startup.cpp
index e2ddfdc1..37b3f875 100644
--- a/ksirc/KSPrefs/page_startup.cpp
+++ b/ksirc/KSPrefs/page_startup.cpp
@@ -19,7 +19,7 @@
#include "page_startup.h"
-PageStartup::PageStartup( TQWidget *parent, const char *name ) : PageStartupBase( parent, name)
+PageStartup::PageStartup( TQWidget *tqparent, const char *name ) : PageStartupBase( tqparent, name)
{
notifyLB->upButton()->hide();
notifyLB->downButton()->hide();
@@ -49,7 +49,7 @@ void PageStartup::saveConfig()
for( ; it != items.end(); ++it){
ksopts->server[*it] = server[*it];
}
- if(!ksopts->server.contains("global")){
+ if(!ksopts->server.tqcontains("global")){
ksopts->server["global"] = glb;
}
@@ -65,7 +65,7 @@ void PageStartup::readConfig( const KSOptions *opts )
if(it.data().globalCopy == false)
serverLB->insertItem(it.key());
}
- TQListBoxItem *item = serverLB->listBox()->findItem("global");
+ TQListBoxItem *item = serverLB->listBox()->tqfindItem("global");
serverLB->listBox()->setSelected(item, true);
changing = false;
clickedLB(serverLB->listBox()->index(item));
@@ -107,7 +107,7 @@ void PageStartup::clickedLB(int index)
{
TQString text = serverLB->text(index);
- if(!server.contains(text)){
+ if(!server.tqcontains(text)){
server[text] = server["global"];
server[text].globalCopy = true;
}