summaryrefslogtreecommitdiffstats
path: root/ksirc/KSPrefs/page_servchan.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /ksirc/KSPrefs/page_servchan.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/KSPrefs/page_servchan.cpp')
-rw-r--r--ksirc/KSPrefs/page_servchan.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/ksirc/KSPrefs/page_servchan.cpp b/ksirc/KSPrefs/page_servchan.cpp
index 4689bd2a..f7587947 100644
--- a/ksirc/KSPrefs/page_servchan.cpp
+++ b/ksirc/KSPrefs/page_servchan.cpp
@@ -9,18 +9,18 @@
#include "page_servchan.h"
-#include <qlistbox.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
+#include <tqlistbox.h>
+#include <tqlineedit.h>
+#include <tqpushbutton.h>
#include <kapplication.h>
#include <kconfig.h>
-PageServChan::PageServChan( QWidget *parent, const char *name ) : PageServChanBase( parent, name)
+PageServChan::PageServChan( TQWidget *parent, const char *name ) : PageServChanBase( parent, name)
{
- connect(serverDeleteItemPB, SIGNAL(pressed()), this, SLOT(deletePressedSL()));
- connect(ServerAddItemPB, SIGNAL(pressed()), this, SLOT(addPressedSL()));
- connect(chanDeleteItmPB, SIGNAL(pressed()), this, SLOT(deletePressedCL()));
- connect(ChanAddItemPB, SIGNAL(pressed()), this, SLOT(addPressedCL()));
+ connect(serverDeleteItemPB, TQT_SIGNAL(pressed()), this, TQT_SLOT(deletePressedSL()));
+ connect(ServerAddItemPB, TQT_SIGNAL(pressed()), this, TQT_SLOT(addPressedSL()));
+ connect(chanDeleteItmPB, TQT_SIGNAL(pressed()), this, TQT_SLOT(deletePressedCL()));
+ connect(ChanAddItemPB, TQT_SIGNAL(pressed()), this, TQT_SLOT(addPressedCL()));
}
@@ -30,10 +30,10 @@ PageServChan::~PageServChan()
void PageServChan::saveConfig()
{
- QStringList sLB;
+ TQStringList sLB;
uint i;
for(i = 0; i < serverLB->count(); i++){
- QString txt = serverLB->text(i);
+ TQString txt = serverLB->text(i);
if(!txt.isNull())
sLB << txt;
}
@@ -41,9 +41,9 @@ void PageServChan::saveConfig()
conf->setGroup("ServerList");
conf->writeEntry("RecentServers", sLB);
- QStringList sCL;
+ TQStringList sCL;
for(i = 0; i < channelLB->count(); i++){
- QString txt = channelLB->text(i);
+ TQString txt = channelLB->text(i);
if(!txt.isNull())
sCL << txt;
}
@@ -55,7 +55,7 @@ void PageServChan::readConfig( const KSOServChan * )
{
KConfig *conf = kapp->config();
conf->setGroup("ServerList");
- QStringList recent = conf->readListEntry("RecentServers");
+ TQStringList recent = conf->readListEntry("RecentServers");
recent.sort();
serverLB->insertStringList(recent);
conf->setGroup("Recent");
@@ -79,7 +79,7 @@ void PageServChan::deletePressedSL() {
void PageServChan::addPressedSL() {
uint i;
- QString txt = LineEdit6->text();
+ TQString txt = LineEdit6->text();
for(i = 0; i < serverLB->count(); i++){
if(txt == serverLB->text(i)){
@@ -111,7 +111,7 @@ void PageServChan::deletePressedCL() {
void PageServChan::addPressedCL() {
uint i;
- QString txt = LineEdit6_2->text();
+ TQString txt = LineEdit6_2->text();
for(i = 0; i < channelLB->count(); i++){
if(txt == channelLB->text(i)){