From 808e453c56036211f57482ed847d54aca01bba68 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:49:40 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kppp/ppplog.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kppp/ppplog.cpp') diff --git a/kppp/ppplog.cpp b/kppp/ppplog.cpp index a5075b3e..d634b366 100644 --- a/kppp/ppplog.cpp +++ b/kppp/ppplog.cpp @@ -40,7 +40,7 @@ #include #include #include -#include +#include #include #include @@ -171,7 +171,7 @@ void PPPL_AnalyseLog(TQStringList &list, TQStringList &result) { if(!str.isEmpty()) { msg = i18n("Notice that the remote system has sent the following" " message:\n\"%1\"\nThis may give you a hint why the" - " the connection has failed.").tqarg(str); + " the connection has failed.").arg(str); result.append(msg); } } @@ -202,8 +202,8 @@ void PPPL_ShowLog() { bool foundConnect = false; bool foundLCP = gpppdata.getPPPDebug(); - TQString lcp = TQString::tqfromLatin1("[LCP"); - TQString conn = TQString::tqfromLatin1("Connect:"); + TQString lcp = TQString::fromLatin1("[LCP"); + TQString conn = TQString::fromLatin1("Connect:"); TQStringList::ConstIterator it = sl.begin(); for( ; it != sl.end(); it++) { if((*it).find(lcp) >= 0) { @@ -249,7 +249,7 @@ void PPPL_ShowLog() { bbox->addStretch(1); TQPushButton *write = bbox->addButton(i18n("Write to File")); TQPushButton *close = bbox->addButton(KStdGuiItem::close()); - bbox->tqlayout(); + bbox->layout(); edit->setMinimumSize(600, 250); label->setMinimumSize(600, 15); diagnosis->setMinimumSize(600, 60); @@ -258,7 +258,7 @@ void PPPL_ShowLog() { tl->addWidget(label); tl->addWidget(diagnosis, 1); tl->addWidget(bbox); - dlg->setFixedSize(dlg->tqsizeHint()); + dlg->setFixedSize(dlg->sizeHint()); for(uint i = 0; i < sl.count(); i++) edit->append(*sl.at(i)); @@ -281,7 +281,7 @@ void PPPL_ShowLog() { fclose(f); umask(old_umask); - TQString msg = i18n("The PPP log has been saved\nas \"%1\"!\n\nIf you want to send a bug report, or have\nproblems connecting to the Internet, please\nattach this file. It will help the maintainers\nto find the bug and to improve KPPP").tqarg(s); + TQString msg = i18n("The PPP log has been saved\nas \"%1\"!\n\nIf you want to send a bug report, or have\nproblems connecting to the Internet, please\nattach this file. It will help the maintainers\nto find the bug and to improve KPPP").arg(s); KMessageBox::information(0, msg); } delete dlg; -- cgit v1.2.1