diff options
Diffstat (limited to 'kppp/edit.cpp')
-rw-r--r-- | kppp/edit.cpp | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/kppp/edit.cpp b/kppp/edit.cpp index 7e7d46c2..b4537617 100644 --- a/kppp/edit.cpp +++ b/kppp/edit.cpp @@ -89,16 +89,16 @@ DialWidget::DialWidget( TQWidget *parent, bool isnewaccount, const char *name ) lpn1->addStretch(1); lpn1->addWidget(up); lpn1->addWidget(down); - connect(add, TQT_SIGNAL(clicked()), - this, TQT_SLOT(addNumber())); - connect(del, TQT_SIGNAL(clicked()), - this, TQT_SLOT(delNumber())); - connect(up, TQT_SIGNAL(clicked()), - this, TQT_SLOT(upNumber())); - connect(down, TQT_SIGNAL(clicked()), - this, TQT_SLOT(downNumber())); - connect(numbers, TQT_SIGNAL(highlighted(int)), - this, TQT_SLOT(selectionChanged(int))); + connect(add, TQ_SIGNAL(clicked()), + this, TQ_SLOT(addNumber())); + connect(del, TQ_SIGNAL(clicked()), + this, TQ_SLOT(delNumber())); + connect(up, TQ_SIGNAL(clicked()), + this, TQ_SLOT(upNumber())); + connect(down, TQ_SIGNAL(clicked()), + this, TQ_SLOT(downNumber())); + connect(numbers, TQ_SIGNAL(highlighted(int)), + this, TQ_SLOT(selectionChanged(int))); numbersChanged(); tmp = i18n("<p>Specifies the phone numbers to dial. You\n" @@ -157,8 +157,8 @@ DialWidget::DialWidget( TQWidget *parent, bool isnewaccount, const char *name ) cbtype->insertItem(i18n("None")); cbtype->insertItem(i18n("Administrator-defined")); cbtype->insertItem(i18n("User-defined")); - connect(cbtype, TQT_SIGNAL(highlighted(int)), - this, TQT_SLOT(cbtypeChanged(int))); + connect(cbtype, TQ_SIGNAL(highlighted(int)), + this, TQ_SLOT(cbtypeChanged(int))); tl->addWidget(cbtype, 5, 1); tmp = i18n("Callback type"); @@ -178,7 +178,7 @@ DialWidget::DialWidget( TQWidget *parent, bool isnewaccount, const char *name ) TQWhatsThis::add(cbphone,tmp); pppdargs = new TQPushButton(i18n("Customize &pppd Arguments..."), parent); - connect(pppdargs, TQT_SIGNAL(clicked()), TQT_SLOT(pppdargsbutton())); + connect(pppdargs, TQ_SIGNAL(clicked()), TQ_SLOT(pppdargsbutton())); tl->addMultiCellWidget(pppdargs, 7, 7, 0, 1, AlignCenter); // Set defaults if editing an existing connection @@ -438,8 +438,8 @@ IPWidget::IPWidget( TQWidget *parent, bool isnewaccount, const char *name ) rb = new TQButtonGroup(parent); rb->hide(); - connect(rb, TQT_SIGNAL(clicked(int)), - TQT_SLOT(hitIPSelect(int))); + connect(rb, TQ_SIGNAL(clicked(int)), + TQ_SLOT(hitIPSelect(int))); dynamicadd_rb = new TQRadioButton(box); dynamicadd_rb->setText(i18n("Dynamic IP address")); @@ -496,8 +496,8 @@ IPWidget::IPWidget( TQWidget *parent, bool isnewaccount, const char *name ) autoname = new TQCheckBox(i18n("&Auto-configure hostname from this IP"), parent); autoname->setChecked(gpppdata.autoname()); - connect(autoname,TQT_SIGNAL(toggled(bool)), - this,TQT_SLOT(autoname_t(bool))); + connect(autoname,TQ_SIGNAL(toggled(bool)), + this,TQ_SLOT(autoname_t(bool))); TQWhatsThis::add(autoname, i18n("<p>Whenever you connect, this reconfigures\n" @@ -613,7 +613,7 @@ DNSWidget::DNSWidget( TQWidget *parent, bool isnewaccount, const char *name ) bg = new TQButtonGroup("Group", this); conf_label->setBuddy(bg); - connect(bg, TQT_SIGNAL(clicked(int)), TQT_SLOT(DNS_Mode_Selected(int))); + connect(bg, TQ_SIGNAL(clicked(int)), TQ_SLOT(DNS_Mode_Selected(int))); bg->hide(); autodns = new TQRadioButton(i18n("Automatic"), parent); @@ -634,10 +634,10 @@ DNSWidget::DNSWidget( TQWidget *parent, bool isnewaccount, const char *name ) tl->addLayout(l2, 3, 1); dnsipaddr = new IPLineEdit(parent); dns_label->setBuddy(dnsipaddr); - connect(dnsipaddr, TQT_SIGNAL(returnPressed()), - TQT_SLOT(adddns())); - connect(dnsipaddr, TQT_SIGNAL(textChanged(const TQString &)), - TQT_SLOT(DNS_Edit_Changed(const TQString &))); + connect(dnsipaddr, TQ_SIGNAL(returnPressed()), + TQ_SLOT(adddns())); + connect(dnsipaddr, TQ_SIGNAL(textChanged(const TQString &)), + TQ_SLOT(DNS_Edit_Changed(const TQString &))); l2->addWidget(dnsipaddr, 1); l2->addStretch(1); tmp = i18n("<p>Allows you to specify a new DNS server to be\n" @@ -654,7 +654,7 @@ DNSWidget::DNSWidget( TQWidget *parent, bool isnewaccount, const char *name ) TQHBoxLayout *l1 = new TQHBoxLayout; tl->addLayout(l1, 4, 1); add = new TQPushButton(i18n("&Add"), parent); - connect(add, TQT_SIGNAL(clicked()), TQT_SLOT(adddns())); + connect(add, TQ_SIGNAL(clicked()), TQ_SLOT(adddns())); int width = add->sizeHint().width(); width = TQMAX(width,60); add->setMinimumWidth(width); @@ -666,7 +666,7 @@ DNSWidget::DNSWidget( TQWidget *parent, bool isnewaccount, const char *name ) "will then be added to the list below")); remove = new TQPushButton(i18n("&Remove"), parent); - connect(remove, TQT_SIGNAL(clicked()), TQT_SLOT(removedns())); + connect(remove, TQ_SIGNAL(clicked()), TQ_SLOT(removedns())); width = remove->sizeHint().width(); width = TQMAX(width,60); remove->setMinimumWidth(width); @@ -682,8 +682,8 @@ DNSWidget::DNSWidget( TQWidget *parent, bool isnewaccount, const char *name ) dnsservers = new TQListBox(parent); servers_label->setBuddy(dnsservers); dnsservers->setMinimumSize(150, 80); - connect(dnsservers, TQT_SIGNAL(highlighted(int)), - TQT_SLOT(DNS_Entry_Selected(int))); + connect(dnsservers, TQ_SIGNAL(highlighted(int)), + TQ_SLOT(DNS_Entry_Selected(int))); tl->addWidget(dnsservers, 5, 1); tmp = i18n("<p>This shows all defined DNS servers to use\n" "while you are connected. Use the <b>Add</b> and\n" @@ -793,7 +793,7 @@ GatewayWidget::GatewayWidget( TQWidget *parent, bool isnewaccount, const char *n rb = new TQButtonGroup(parent); rb->hide(); - connect(rb, TQT_SIGNAL(clicked(int)), TQT_SLOT(hitGatewaySelect(int))); + connect(rb, TQ_SIGNAL(clicked(int)), TQ_SLOT(hitGatewaySelect(int))); defaultgateway = new TQRadioButton(box); defaultgateway->setText(i18n("Default gateway")); @@ -879,19 +879,19 @@ ScriptWidget::ScriptWidget( TQWidget *parent, bool isnewaccount, const char *nam { TQVBoxLayout *tl = new TQVBoxLayout(parent, 0, KDialog::spacingHint()); se = new ScriptEdit(parent); - connect(se, TQT_SIGNAL(returnPressed()), TQT_SLOT(addButton())); + connect(se, TQ_SIGNAL(returnPressed()), TQ_SLOT(addButton())); tl->addWidget(se); // insert equal-sized buttons KButtonBox *bbox = new KButtonBox(parent); add = bbox->addButton(i18n("&Add")); - connect(add, TQT_SIGNAL(clicked()), TQT_SLOT(addButton())); + connect(add, TQ_SIGNAL(clicked()), TQ_SLOT(addButton())); bbox->addStretch(1); insert = bbox->addButton(i18n("&Insert")); - connect(insert, TQT_SIGNAL(clicked()), TQT_SLOT(insertButton())); + connect(insert, TQ_SIGNAL(clicked()), TQ_SLOT(insertButton())); bbox->addStretch(1); remove = bbox->addButton(i18n("&Remove")); - connect(remove, TQT_SIGNAL(clicked()), TQT_SLOT(removeButton())); + connect(remove, TQ_SIGNAL(clicked()), TQ_SLOT(removeButton())); bbox->layout(); tl->addWidget(bbox); @@ -899,17 +899,17 @@ ScriptWidget::ScriptWidget( TQWidget *parent, bool isnewaccount, const char *nam tl->addLayout(l12); stl = new TQListBox(parent); stl->setVScrollBarMode( TQScrollView::AlwaysOff ); - connect(stl, TQT_SIGNAL(highlighted(int)), TQT_SLOT(stlhighlighted(int))); + connect(stl, TQ_SIGNAL(highlighted(int)), TQ_SLOT(stlhighlighted(int))); stl->setMinimumSize(TQSize(70, 140)); sl = new TQListBox(parent); sl->setVScrollBarMode( TQScrollView::AlwaysOff ); - connect(sl, TQT_SIGNAL(highlighted(int)), TQT_SLOT(slhighlighted(int))); + connect(sl, TQ_SIGNAL(highlighted(int)), TQ_SLOT(slhighlighted(int))); sl->setMinimumSize(TQSize(150, 140)); slb = new TQScrollBar(parent); slb->setFixedWidth(slb->sizeHint().width()); - connect(slb, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(scrolling(int))); + connect(slb, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(scrolling(int))); l12->addWidget(stl, 1); l12->addWidget(sl, 3); @@ -1214,8 +1214,8 @@ PhoneNumberDialog::PhoneNumberDialog(TQWidget *parent) : KDialogBase(parent, 0, le = newLineEdit(14, hbox); le->setMinimumWidth(125); - connect(le, TQT_SIGNAL(textChanged(const TQString &)), - this, TQT_SLOT(textChanged(const TQString &))); + connect(le, TQ_SIGNAL(textChanged(const TQString &)), + this, TQ_SLOT(textChanged(const TQString &))); le->setFocus(); textChanged(""); |