summaryrefslogtreecommitdiffstats
path: root/kppp/edit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/edit.cpp')
-rw-r--r--kppp/edit.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kppp/edit.cpp b/kppp/edit.cpp
index 39f88097..96f36d90 100644
--- a/kppp/edit.cpp
+++ b/kppp/edit.cpp
@@ -25,7 +25,7 @@
#include <string.h>
#include <termios.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <kmessagebox.h>
#include <tqwhatsthis.h>
#include <tqregexp.h>
@@ -66,7 +66,7 @@ DialWidget::DialWidget( TQWidget *parent, bool isnewaccount, const char *name )
number_label = new TQLabel(i18n("P&hone number:"), parent);
- number_label->tqsetAlignment(AlignTop|AlignLeft);
+ number_label->setAlignment(AlignTop|AlignLeft);
tl->addWidget(number_label, 1, 0);
TQHBoxLayout *lpn = new TQHBoxLayout(5);
@@ -324,7 +324,7 @@ i18n("Here you can select commands to run at certain stages of the\n"
"(unless, of course, you are root).\n\n"
"Be sure to supply the whole path to the program otherwise\n"
"kppp might be unable to find it."), parent);
- l->setMinimumHeight(l->tqsizeHint().height());
+ l->setMinimumHeight(l->sizeHint().height());
tl->addWidget(l);
tl->addStretch(1);
@@ -334,7 +334,7 @@ i18n("Here you can select commands to run at certain stages of the\n"
l1->setColStretch(1, 1);
before_connect_l = new TQLabel(i18n("&Before connect:"), parent);
- before_connect_l->tqsetAlignment(AlignVCenter);
+ before_connect_l->setAlignment(AlignVCenter);
l1->addWidget(before_connect_l, 0, 0);
before_connect = new TQLineEdit(parent);
before_connect_l->setBuddy(before_connect);
@@ -350,7 +350,7 @@ i18n("Here you can select commands to run at certain stages of the\n"
TQWhatsThis::add(before_connect,tmp);
command_label = new TQLabel(i18n("&Upon connect:"), parent);
- command_label->tqsetAlignment(AlignVCenter);
+ command_label->setAlignment(AlignVCenter);
l1->addWidget(command_label, 1, 0);
command = new TQLineEdit(parent);
command_label->setBuddy(command);
@@ -367,7 +367,7 @@ i18n("Here you can select commands to run at certain stages of the\n"
predisconnect_label = new TQLabel(i18n("Before &disconnect:"),
parent);
- predisconnect_label->tqsetAlignment(AlignVCenter);
+ predisconnect_label->setAlignment(AlignVCenter);
l1->addWidget(predisconnect_label, 2, 0);
predisconnect = new TQLineEdit(parent);
predisconnect_label->setBuddy(predisconnect);
@@ -382,7 +382,7 @@ i18n("Here you can select commands to run at certain stages of the\n"
discommand_label = new TQLabel(i18n("U&pon disconnect:"),
parent);
- discommand_label->tqsetAlignment(AlignVCenter);
+ discommand_label->setAlignment(AlignVCenter);
l1->addWidget(discommand_label, 3, 0);
discommand = new TQLineEdit(parent);
@@ -655,7 +655,7 @@ DNSWidget::DNSWidget( TQWidget *parent, bool isnewaccount, const char *name )
tl->addLayout(l1, 4, 1);
add = new TQPushButton(i18n("&Add"), parent);
connect(add, TQT_SIGNAL(clicked()), TQT_SLOT(adddns()));
- int width = add->tqsizeHint().width();
+ int width = add->sizeHint().width();
width = TQMAX(width,60);
add->setMinimumWidth(width);
l1->addWidget(add);
@@ -667,7 +667,7 @@ DNSWidget::DNSWidget( TQWidget *parent, bool isnewaccount, const char *name )
remove = new TQPushButton(i18n("&Remove"), parent);
connect(remove, TQT_SIGNAL(clicked()), TQT_SLOT(removedns()));
- width = remove->tqsizeHint().width();
+ width = remove->sizeHint().width();
width = TQMAX(width,60);
remove->setMinimumWidth(width);
l1->addWidget(remove);
@@ -676,7 +676,7 @@ DNSWidget::DNSWidget( TQWidget *parent, bool isnewaccount, const char *name )
"server entry from the list below"));
servers_label = new TQLabel(i18n("DNS address &list:"), parent);
- servers_label->tqsetAlignment(AlignTop|AlignLeft);
+ servers_label->setAlignment(AlignTop|AlignLeft);
tl->addWidget(servers_label, 5, 0);
dnsservers = new TQListBox(parent);
@@ -892,7 +892,7 @@ ScriptWidget::ScriptWidget( TQWidget *parent, bool isnewaccount, const char *nam
bbox->addStretch(1);
remove = bbox->addButton(i18n("&Remove"));
connect(remove, TQT_SIGNAL(clicked()), TQT_SLOT(removeButton()));
- bbox->tqlayout();
+ bbox->layout();
tl->addWidget(bbox);
TQHBoxLayout *l12 = new TQHBoxLayout(0);
@@ -908,7 +908,7 @@ ScriptWidget::ScriptWidget( TQWidget *parent, bool isnewaccount, const char *nam
sl->setMinimumSize(TQSize(150, 140));
slb = new TQScrollBar(parent);
- slb->setFixedWidth(slb->tqsizeHint().width());
+ slb->setFixedWidth(slb->sizeHint().width());
connect(slb, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(scrolling(int)));
l12->addWidget(stl, 1);