summaryrefslogtreecommitdiffstats
path: root/ktalkd/kcmktalkd
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
commit808e453c56036211f57482ed847d54aca01bba68 (patch)
tree75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /ktalkd/kcmktalkd
parentcd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff)
downloadtdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz
tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'ktalkd/kcmktalkd')
-rw-r--r--ktalkd/kcmktalkd/answmachpage.cpp12
-rw-r--r--ktalkd/kcmktalkd/forwmachpage.cpp4
-rw-r--r--ktalkd/kcmktalkd/main.cpp6
-rw-r--r--ktalkd/kcmktalkd/soundpage.cpp8
4 files changed, 15 insertions, 15 deletions
diff --git a/ktalkd/kcmktalkd/answmachpage.cpp b/ktalkd/kcmktalkd/answmachpage.cpp
index 4a3947da..efff4e06 100644
--- a/ktalkd/kcmktalkd/answmachpage.cpp
+++ b/ktalkd/kcmktalkd/answmachpage.cpp
@@ -49,27 +49,27 @@ KAnswmachPageConfig::KAnswmachPageConfig( TQWidget *parent, const char* name,
mail_edit->setMinimumWidth(150);
mail_label = new TQLabel(mail_edit,i18n("&Mail address:"),this);
mail_label->adjustSize();
- mail_label->tqsetAlignment( ShowPrefix | AlignVCenter );
+ mail_label->setAlignment( ShowPrefix | AlignVCenter );
subj_edit = new TQLineEdit(this);
subj_edit->adjustSize();
subj_edit->setMinimumWidth(150);
subj_label = new TQLabel(subj_edit, i18n("Mail s&ubject:"),this);
subj_label->adjustSize();
- subj_label->tqsetAlignment( ShowPrefix | AlignVCenter );
+ subj_label->setAlignment( ShowPrefix | AlignVCenter );
subj_tip = new TQLabel(i18n("Use %s for the caller name"),this);
- subj_tip->tqsetAlignment( ShowPrefix );
+ subj_tip->setAlignment( ShowPrefix );
head_edit = new TQLineEdit(this);
head_edit->adjustSize();
head_edit->setMinimumWidth(150);
head_label = new TQLabel(head_edit, i18n("Mail &first line:"),this);
head_label->adjustSize();
- head_label->tqsetAlignment( ShowPrefix | AlignVCenter );
+ head_label->setAlignment( ShowPrefix | AlignVCenter );
head_tip = new TQLabel(
i18n("Use first %s for caller name, and second %s for caller hostname"),
this);
- head_tip->tqsetAlignment( ShowPrefix );
+ head_tip->setAlignment( ShowPrefix );
emptymail_cb = new TQCheckBox(i18n("&Receive a mail even if no message left"), this);
emptymail_cb->adjustSize();
@@ -79,7 +79,7 @@ KAnswmachPageConfig::KAnswmachPageConfig( TQWidget *parent, const char* name,
msg_ml->setMinimumWidth(150);
msg_label = new TQLabel(msg_ml, i18n("&Banner displayed on answering machine startup:"),this);
msg_label->adjustSize();
- msg_label->tqsetAlignment( ShowPrefix | AlignVCenter );
+ msg_label->setAlignment( ShowPrefix | AlignVCenter );
int h = 10 + answmach_cb->height() + mail_edit->height() +
subj_edit->height() + subj_tip->height() + head_edit->height()
diff --git a/ktalkd/kcmktalkd/forwmachpage.cpp b/ktalkd/kcmktalkd/forwmachpage.cpp
index 2046833d..33438651 100644
--- a/ktalkd/kcmktalkd/forwmachpage.cpp
+++ b/ktalkd/kcmktalkd/forwmachpage.cpp
@@ -45,7 +45,7 @@ KForwmachPageConfig::KForwmachPageConfig( TQWidget *parent, const char* name,
address_edit->setMinimumWidth(150);
address_label = new TQLabel(address_edit,i18n("&Destination (user or user@host):"),this);
address_label->adjustSize();
- address_label->tqsetAlignment( ShowPrefix | AlignVCenter );
+ address_label->setAlignment( ShowPrefix | AlignVCenter );
method_combo = new TQComboBox(this);
method_combo->insertItem("FWA");
@@ -55,7 +55,7 @@ KForwmachPageConfig::KForwmachPageConfig( TQWidget *parent, const char* name,
method_combo->setMinimumWidth(80);
method_label = new TQLabel(method_combo, i18n("Forward &method:"),this);
method_label->adjustSize();
- method_label->tqsetAlignment( ShowPrefix | AlignVCenter );
+ method_label->setAlignment( ShowPrefix | AlignVCenter );
expl_label = new TQLabel(i18n(
"FWA: Forward announcement only. Direct connection. Not recommended.\n\
diff --git a/ktalkd/kcmktalkd/main.cpp b/ktalkd/kcmktalkd/main.cpp
index bd68e17a..19bc3c61 100644
--- a/ktalkd/kcmktalkd/main.cpp
+++ b/ktalkd/kcmktalkd/main.cpp
@@ -28,7 +28,7 @@
#include <klocale.h>
#include <kglobal.h>
#include <tqtabwidget.h>
-#include <tqlayout.h>
+#include <layout.h>
KTalkdConfigModule::KTalkdConfigModule(TQWidget *parent, const char *name)
: KCModule(parent, name)
@@ -36,11 +36,11 @@ KTalkdConfigModule::KTalkdConfigModule(TQWidget *parent, const char *name)
config = new KSimpleConfig("ktalkdrc");
announceconfig = new KSimpleConfig("ktalkannouncerc");
- TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
+ TQVBoxLayout *layout = new TQVBoxLayout(this);
tab = new TQTabWidget(this);
- tqlayout->addWidget(tab);
+ layout->addWidget(tab);
soundpage = new KSoundPageConfig(this, "soundpage", config, announceconfig);
answmachpage = new KAnswmachPageConfig(this, "answmachpage", config);
diff --git a/ktalkd/kcmktalkd/soundpage.cpp b/ktalkd/kcmktalkd/soundpage.cpp
index 26b82f59..535fb36d 100644
--- a/ktalkd/kcmktalkd/soundpage.cpp
+++ b/ktalkd/kcmktalkd/soundpage.cpp
@@ -27,7 +27,7 @@
#include <stdlib.h> //for setenv
#include <tqgroupbox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqlistbox.h>
#include <tqcheckbox.h>
@@ -66,7 +66,7 @@ KSoundPageConfig::KSoundPageConfig( TQWidget *parent, const char* name,
extprg_box->setColumnLayout( 0, Qt::Horizontal );
toplay->addWidget(extprg_box);
- TQGridLayout* l = new TQGridLayout(extprg_box->tqlayout());
+ TQGridLayout* l = new TQGridLayout(extprg_box->layout());
extprg_edit = new KURLRequester(extprg_box);
l->addWidget(extprg_edit, 2, 4);
@@ -193,7 +193,7 @@ void KSoundPageConfig::sound_listDropEvent(TQDropEvent* e){
if (url.path().right(4).upper() != ".WAV") {
TQString msg = i18n("%1\ndoes not appear "\
- "to be a WAV file.").tqarg(url.path());
+ "to be a WAV file.").arg(url.path());
KMessageBox::sorry(this, msg, i18n("Improper File Extension"));
@@ -203,7 +203,7 @@ void KSoundPageConfig::sound_listDropEvent(TQDropEvent* e){
if (!addToSound_List(url.path())) {
// did not add file because it is already in the list
- TQString msg = i18n("The file %1 is already in the list").tqarg(url.path());
+ TQString msg = i18n("The file %1 is already in the list").arg(url.path());
KMessageBox::information(this, msg, i18n("File Already in List"));