diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:33:51 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:33:51 -0600 |
commit | 089118c18533dfa3e6ce5065dbebdd4db94051f1 (patch) | |
tree | ce014fb2326a80fcfafa2362b7ff88486aa17c96 /kppp/edit.cpp | |
parent | 83677e35509b4dafac63b76995652bdf3b49f209 (diff) | |
download | tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.tar.gz tdenetwork-089118c18533dfa3e6ce5065dbebdd4db94051f1.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kppp/edit.cpp')
-rw-r--r-- | kppp/edit.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kppp/edit.cpp b/kppp/edit.cpp index 39f88097..19b78185 100644 --- a/kppp/edit.cpp +++ b/kppp/edit.cpp @@ -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); @@ -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); |