summaryrefslogtreecommitdiffstats
path: root/kpackage/kpackage.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:45:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:45:05 -0600
commitd1248617107f659af9d03cf1ef6d783571a0cba8 (patch)
tree06ce6d250704f2cddca023e81b63f25b19c9aa48 /kpackage/kpackage.cpp
parent72fee035e994371467475e062b46287d68fa3f57 (diff)
downloadtdeadmin-d1248617107f659af9d03cf1ef6d783571a0cba8.tar.gz
tdeadmin-d1248617107f659af9d03cf1ef6d783571a0cba8.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kpackage/kpackage.cpp')
-rw-r--r--kpackage/kpackage.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kpackage/kpackage.cpp b/kpackage/kpackage.cpp
index 17697ce..2c90b9f 100644
--- a/kpackage/kpackage.cpp
+++ b/kpackage/kpackage.cpp
@@ -485,9 +485,9 @@ pkgInterface *KPACKAGE::pkType(const TQString &fname)
}
}
fclose(file);
- KpMsgE(i18n("Unknown package type: %1").tqarg(fname),TRUE);
+ KpMsgE(i18n("Unknown package type: %1").arg(fname),TRUE);
} else {
- KpMsgE(i18n("File not found: %1").tqarg(fname),TRUE);
+ KpMsgE(i18n("File not found: %1").arg(fname),TRUE);
}
return 0;
@@ -585,7 +585,7 @@ TQString KPACKAGE::getFileName(const KURL & url, TQString &cacheName )
TQString fname = "";
if ( !url.isValid() ) {
- KpMsgE(i18n("Malformed URL: %1").tqarg(url.url()),TRUE);
+ KpMsgE(i18n("Malformed URL: %1").arg(url.url()),TRUE);
} else {
// Just a usual file ?
@@ -643,12 +643,12 @@ TQString KPACKAGE::fetchNetFile( const KURL & url )
} else {
save_url = url;
- settqStatus(i18n("Starting KIO"));
+ setStatus(i18n("Starting KIO"));
Kio kio;
if (kio.download(url, cf)) {
- settqStatus(i18n("KIO finished"));
+ setStatus(i18n("KIO finished"));
TQFileInfo fi(cf);
if (!(fi.exists() && fi.size() > 0)) {
unlink(TQFile::encodeName(cf));
@@ -660,7 +660,7 @@ TQString KPACKAGE::fetchNetFile( const KURL & url )
return cf;
}
} else {
- settqStatus(i18n("KIO failed"));
+ setStatus(i18n("KIO failed"));
return "";
}
}
@@ -732,13 +732,13 @@ void KPACKAGE::dropEvent(TQDropEvent *de) // something has been dropped
openNetFiles(list.toStringList());
}
-void KPACKAGE::settqStatus(const TQString &s) // set the text in the status bar
+void KPACKAGE::setStatus(const TQString &s) // set the text in the status bar
{
status->setText(s);
kapp->processEvents(); // refresh the screen
}
-TQString KPACKAGE::gettqStatus() // get the text in the status bar
+TQString KPACKAGE::getStatus() // get the text in the status bar
{
if(status)
return status->text();