summaryrefslogtreecommitdiffstats
path: root/kppp/modems.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 17:34:53 +0900
committerMichele Calgaro <[email protected]>2024-01-13 17:51:33 +0900
commit1329ec6abbcb7b79cd960e0ca138f16598d5f11f (patch)
tree8b64fab3a352aada6a046f69f1f7e8a6ad819594 /kppp/modems.cpp
parent69c2eb8d5f2ed64c876b2a1081cc83ed9f4652d3 (diff)
downloadtdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.tar.gz
tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kppp/modems.cpp')
-rw-r--r--kppp/modems.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kppp/modems.cpp b/kppp/modems.cpp
index c064b714..9ceab292 100644
--- a/kppp/modems.cpp
+++ b/kppp/modems.cpp
@@ -62,16 +62,16 @@ ModemsWidget::ModemsWidget( TQWidget *parent, const char *name )
modemlist_l = new TQListBox(parent);
modemlist_l->setMinimumSize(160, 128);
- connect(modemlist_l, TQT_SIGNAL(highlighted(int)),
- this, TQT_SLOT(slotListBoxSelect(int)));
- connect(modemlist_l, TQT_SIGNAL(selected(int)),
- this, TQT_SLOT(editmodem()));
+ connect(modemlist_l, TQ_SIGNAL(highlighted(int)),
+ this, TQ_SLOT(slotListBoxSelect(int)));
+ connect(modemlist_l, TQ_SIGNAL(selected(int)),
+ this, TQ_SLOT(editmodem()));
l11->addWidget(modemlist_l, 10);
TQVBoxLayout *l111 = new TQVBoxLayout;
l11->addLayout(l111, 1);
edit_b = new TQPushButton(i18n("&Edit..."), parent);
- connect(edit_b, TQT_SIGNAL(clicked()), TQT_SLOT(editmodem()));
+ connect(edit_b, TQ_SIGNAL(clicked()), TQ_SLOT(editmodem()));
TQWhatsThis::add(edit_b, i18n("Allows you to modify the selected account"));
min = edit_b->sizeHint().width();
@@ -81,13 +81,13 @@ ModemsWidget::ModemsWidget( TQWidget *parent, const char *name )
l111->addWidget(edit_b);
new_b = new TQPushButton(i18n("&New..."), parent);
- connect(new_b, TQT_SIGNAL(clicked()), TQT_SLOT(newmodem()));
+ connect(new_b, TQ_SIGNAL(clicked()), TQ_SLOT(newmodem()));
l111->addWidget(new_b);
TQWhatsThis::add(new_b, i18n("Create a new dialup connection\n"
"to the Internet"));
copy_b = new TQPushButton(i18n("Co&py"), parent);
- connect(copy_b, TQT_SIGNAL(clicked()), TQT_SLOT(copymodem()));
+ connect(copy_b, TQ_SIGNAL(clicked()), TQ_SLOT(copymodem()));
l111->addWidget(copy_b);
TQWhatsThis::add(copy_b,
i18n("Makes a copy of the selected account. All\n"
@@ -96,7 +96,7 @@ ModemsWidget::ModemsWidget( TQWidget *parent, const char *name )
"needs"));
delete_b = new TQPushButton(i18n("De&lete"), parent);
- connect(delete_b, TQT_SIGNAL(clicked()), TQT_SLOT(deletemodem()));
+ connect(delete_b, TQ_SIGNAL(clicked()), TQ_SLOT(deletemodem()));
l111->addWidget(delete_b);
TQWhatsThis::add(delete_b,
i18n("<p>Deletes the selected account\n\n"
@@ -224,7 +224,7 @@ int ModemsWidget::doTab(){
}
modem1 = new ModemWidget(tabWindow->addPage( i18n("&Device"), i18n("Serial Device")), isnewmodem );
modem2 = new ModemWidget2(tabWindow->addPage( i18n("&Modem"), i18n("Modem Settings")));
- connect ( modem1->connectName(), TQT_SIGNAL(textChanged ( const TQString & )), this, TQT_SLOT(modemNameChanged(const TQString & )));
+ connect ( modem1->connectName(), TQ_SIGNAL(textChanged ( const TQString & )), this, TQ_SLOT(modemNameChanged(const TQString & )));
modemNameChanged(modem1->connectName()->text());
int result = 0;