summaryrefslogtreecommitdiffstats
path: root/kppp/ppplog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
commit808e453c56036211f57482ed847d54aca01bba68 (patch)
tree75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /kppp/ppplog.cpp
parentcd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff)
downloadtdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz
tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kppp/ppplog.cpp')
-rw-r--r--kppp/ppplog.cpp14
1 files changed, 7 insertions, 7 deletions
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 <tqdialog.h>
#include <tqregexp.h>
#include <tqmultilineedit.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <kbuttonbox.h>
#include <kmessagebox.h>
@@ -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;