summaryrefslogtreecommitdiffstats
path: root/kppp/kpppwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/kpppwidget.cpp')
-rw-r--r--kppp/kpppwidget.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kppp/kpppwidget.cpp b/kppp/kpppwidget.cpp
index 4c287be6..4d2d162c 100644
--- a/kppp/kpppwidget.cpp
+++ b/kppp/kpppwidget.cpp
@@ -305,7 +305,7 @@ KPPPWidget::KPPPWidget( TQWidget *parent, const char *name )
bool result = gpppdata.setModem(m_strCmdlModem);
if (!result){
TQString string;
- string = i18n("No such Modem:\n%1\nFalling back to default").tqarg(m_strCmdlModem);
+ string = i18n("No such Modem:\n%1\nFalling back to default").arg(m_strCmdlModem);
KMessageBox::error(this, string);
m_bCmdlModem = false;
}
@@ -315,7 +315,7 @@ KPPPWidget::KPPPWidget( TQWidget *parent, const char *name )
bool result = gpppdata.setAccount(m_strCmdlAccount);
if (!result){
TQString string;
- string = i18n("No such Account:\n%1").tqarg(m_strCmdlAccount);
+ string = i18n("No such Account:\n%1").arg(m_strCmdlAccount);
KMessageBox::error(this, string);
m_bCmdlAccount = false;
show();
@@ -515,7 +515,7 @@ void KPPPWidget::resetmodems() {
}
label7->setShown(m_bModemCShown);
modem_c->setShown(m_bModemCShown);
- tqlayout()->tqinvalidate();
+ tqlayout()->invalidate();
setFixedSize(sizeHint());
//set the default modem
@@ -619,12 +619,12 @@ void KPPPWidget::sigPPPDDied() {
msg = i18n("<p>The pppd daemon died unexpectedly!</p>");
Requester::rq->pppdExitStatus();
if (Requester::rq->lastStatus != 99) { // more recent pppds only
- msg += i18n("<p>Exit status: %1").tqarg(Requester::rq->lastStatus);
+ msg += i18n("<p>Exit status: %1").arg(Requester::rq->lastStatus);
msg += i18n("</p><p>See 'man pppd' for an explanation of the error "
"codes or take a look at the kppp FAQ on "
" <a href=\"%1\">%2</a></p>")
- .tqarg("http://developer.kde.org/~kppp/index.html")
- .tqarg("http://developer.kde.org/~kppp/index.html");
+ .arg("http://developer.kde.org/~kppp/index.html")
+ .arg("http://developer.kde.org/~kppp/index.html");
}
}
@@ -715,7 +715,7 @@ void KPPPWidget::beginConnect() {
string = i18n("kppp cannot execute:\n %1\n"
"Please make sure that you have given kppp "
"setuid permission and that "
- "pppd is executable.").tqarg(gpppdata.pppdPath());
+ "pppd is executable.").arg(gpppdata.pppdPath());
KMessageBox::error(this, string);
return;
@@ -737,7 +737,7 @@ void KPPPWidget::beginConnect() {
"your modem device properly "
"and/or adjust the location of the modem device on "
"the modem tab of "
- "the setup dialog.").tqarg(device);
+ "the setup dialog.").arg(device);
KMessageBox::error(this, string);
return;
}
@@ -760,7 +760,7 @@ void KPPPWidget::beginConnect() {
encodeWord(gpppdata.password()))) {
TQString s;
s = i18n("Cannot create PAP/CHAP authentication\n"
- "file \"%1\"").tqarg(PAP_AUTH_FILE);
+ "file \"%1\"").arg(PAP_AUTH_FILE);
KMessageBox::error(this, s);
return;
}
@@ -775,7 +775,7 @@ void KPPPWidget::beginConnect() {
hide();
- TQString tit = i18n("Connecting to: %1").tqarg(gpppdata.accname());
+ TQString tit = i18n("Connecting to: %1").arg(gpppdata.accname());
con->setCaption(tit);
con->enableButtons();
con->show();
@@ -922,7 +922,7 @@ void KPPPWidget::startAccounting() {
if(!acct->loadRuleSet(gpppdata.accountingFile())) {
TQString s= i18n("Can not load the accounting "
- "ruleset \"%1\".").tqarg(gpppdata.accountingFile());
+ "ruleset \"%1\".").arg(gpppdata.accountingFile());
// starting the messagebox with a timer will prevent us
// from blocking the calling function ConnectWidget::timerEvent