diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 17:34:53 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 17:51:33 +0900 |
| commit | 1329ec6abbcb7b79cd960e0ca138f16598d5f11f (patch) | |
| tree | 8b64fab3a352aada6a046f69f1f7e8a6ad819594 /kppp/modeminfo.cpp | |
| parent | 69c2eb8d5f2ed64c876b2a1081cc83ed9f4652d3 (diff) | |
| download | tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.tar.gz tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kppp/modeminfo.cpp')
| -rw-r--r-- | kppp/modeminfo.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kppp/modeminfo.cpp b/kppp/modeminfo.cpp index 75a6c00a..7053f2e9 100644 --- a/kppp/modeminfo.cpp +++ b/kppp/modeminfo.cpp @@ -67,7 +67,7 @@ ModemTransfer::ModemTransfer(TQWidget *parent, const char *name) cancel = new KPushButton(KStdGuiItem::cancel(), this); cancel->setFocus(); - connect(cancel, TQT_SIGNAL(clicked()), TQT_SLOT(cancelbutton())); + connect(cancel, TQ_SIGNAL(clicked()), TQ_SLOT(cancelbutton())); TQHBoxLayout *l1 = new TQHBoxLayout; tl->addLayout(l1); @@ -81,13 +81,13 @@ ModemTransfer::ModemTransfer(TQWidget *parent, const char *name) //////////////////////////////////////////////// timeout_timer = new TQTimer(this); - connect(timeout_timer, TQT_SIGNAL(timeout()), TQT_SLOT(time_out_slot())); + connect(timeout_timer, TQ_SIGNAL(timeout()), TQ_SLOT(time_out_slot())); scripttimer = new TQTimer(this); - connect(scripttimer, TQT_SIGNAL(timeout()), TQT_SLOT(do_script())); + connect(scripttimer, TQ_SIGNAL(timeout()), TQ_SLOT(do_script())); timeout_timer->start(15000,TRUE); // 15 secs single shot - TQTimer::singleShot(500, this, TQT_SLOT(init())); + TQTimer::singleShot(500, this, TQ_SLOT(init())); } @@ -151,7 +151,7 @@ void ModemTransfer::init() { // clear modem buffer Modem::modem->flush(); - Modem::modem->notify(this, TQT_SLOT(readChar(unsigned char))); + Modem::modem->notify(this, TQ_SLOT(readChar(unsigned char))); return; } } @@ -277,7 +277,7 @@ ModemInfo::ModemInfo(TQWidget *parent, const char* name) tl->addLayout(l2); l2->addStretch(1); - connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(accept())); + connect(ok, TQ_SIGNAL(clicked()), TQ_SLOT(accept())); l2->addWidget(ok); setMinimumSize(sizeHint()); |
