summaryrefslogtreecommitdiffstats
path: root/kppp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 11:50:25 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 14:31:57 +0900
commit418e8f7a6f6d79b2cbc9d83b29ef53d01582f826 (patch)
tree569fb6200e0735a269bd3355b5dce7e5636a1efa /kppp
parent7cf631be8afe93a3a2988ce589861537582f161d (diff)
downloadtdenetwork-418e8f7a6f6d79b2cbc9d83b29ef53d01582f826.tar.gz
tdenetwork-418e8f7a6f6d79b2cbc9d83b29ef53d01582f826.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kppp')
-rw-r--r--kppp/connect.cpp2
-rw-r--r--kppp/kpppwidget.cpp2
-rw-r--r--kppp/loginterm.cpp2
-rw-r--r--kppp/miniterm.cpp8
-rw-r--r--kppp/modeminfo.cpp2
5 files changed, 8 insertions, 8 deletions
diff --git a/kppp/connect.cpp b/kppp/connect.cpp
index eba8da1e..4e494ea1 100644
--- a/kppp/connect.cpp
+++ b/kppp/connect.cpp
@@ -259,7 +259,7 @@ void ConnectWidget::init() {
semaphore = false;
Modem::modem->stop();
- Modem::modem->notify(TQT_TQOBJECT(this), TQT_SLOT(readChar(unsigned char)));
+ Modem::modem->notify(this, TQT_SLOT(readChar(unsigned char)));
// if we are stuck anywhere we will time out
timeout_timer->start(gpppdata.modemTimeout()*1000);
diff --git a/kppp/kpppwidget.cpp b/kppp/kpppwidget.cpp
index 4597540f..3599145a 100644
--- a/kppp/kpppwidget.cpp
+++ b/kppp/kpppwidget.cpp
@@ -912,7 +912,7 @@ void KPPPWidget::startAccounting() {
TQString d = AccountingBase::getAccountingFile(gpppdata.accountingFile());
// if(::access(d.data(), X_OK) != 0)
- acct = new Accounting(TQT_TQOBJECT(this), stats);
+ acct = new Accounting(this, stats);
// else
// acct = new ExecutableAccounting(this);
diff --git a/kppp/loginterm.cpp b/kppp/loginterm.cpp
index badf77df..a663e9b2 100644
--- a/kppp/loginterm.cpp
+++ b/kppp/loginterm.cpp
@@ -136,7 +136,7 @@ LoginTerm::LoginTerm (TQWidget *parent, const char *name)
cont = false;
- Modem::modem->notify(TQT_TQOBJECT(text_window), TQT_SLOT(readChar(unsigned char)));
+ Modem::modem->notify(text_window, TQT_SLOT(readChar(unsigned char)));
}
diff --git a/kppp/miniterm.cpp b/kppp/miniterm.cpp
index 336076c8..55f526fd 100644
--- a/kppp/miniterm.cpp
+++ b/kppp/miniterm.cpp
@@ -103,15 +103,15 @@ void MiniTerm::setupToolbar() {
toolbar = new TDEToolBar( this );
toolbar->insertButton("system-log-out", 0,
- TQT_SIGNAL(clicked()), TQT_TQOBJECT(this),
+ TQT_SIGNAL(clicked()), this,
TQT_SLOT(cancelbutton()), TRUE, i18n("Close MiniTerm"));
toolbar->insertButton("back", 0,
- TQT_SIGNAL(clicked()), TQT_TQOBJECT(this),
+ TQT_SIGNAL(clicked()), this,
TQT_SLOT(resetModem()), TRUE, i18n("Reset Modem"));
toolbar->insertButton("help", 0,
- TQT_SIGNAL(clicked()), TQT_TQOBJECT(this),
+ TQT_SIGNAL(clicked()), this,
TQT_SLOT(help()), TRUE, i18n("Help"));
toolbar->setBarPos( TDEToolBar::Top );
@@ -154,7 +154,7 @@ void MiniTerm::init() {
kapp->processEvents();
kapp->processEvents();
- Modem::modem->notify(TQT_TQOBJECT(this), TQT_SLOT(readChar(unsigned char)));
+ Modem::modem->notify(this, TQT_SLOT(readChar(unsigned char)));
return;
}
}
diff --git a/kppp/modeminfo.cpp b/kppp/modeminfo.cpp
index b91fe671..75a6c00a 100644
--- a/kppp/modeminfo.cpp
+++ b/kppp/modeminfo.cpp
@@ -151,7 +151,7 @@ void ModemTransfer::init() {
// clear modem buffer
Modem::modem->flush();
- Modem::modem->notify(TQT_TQOBJECT(this), TQT_SLOT(readChar(unsigned char)));
+ Modem::modem->notify(this, TQT_SLOT(readChar(unsigned char)));
return;
}
}