summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:27:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:27:47 -0600
commitb35bfd30d1aaf07ddfd0cbe31ffa8178df803e1c (patch)
treec479690a418e11411180489ea9b5daf2f456b449
parent280c7b07269f24c6c79f6b78f255631dcb920f1b (diff)
downloadtdeadmin-b35bfd30d1aaf07ddfd0cbe31ffa8178df803e1c.tar.gz
tdeadmin-b35bfd30d1aaf07ddfd0cbe31ffa8178df803e1c.zip
Rename additional global TQt functions
-rw-r--r--knetworkconf/knetworkconf/knetworkconf.cpp4
-rw-r--r--knetworkconf/knetworkconf/knetworkconfigparser.cpp10
-rw-r--r--kpackage/kissInterface.cpp6
-rw-r--r--kpackage/slackInterface.cpp2
-rw-r--r--ksysv/TopWidget.cpp2
5 files changed, 12 insertions, 12 deletions
diff --git a/knetworkconf/knetworkconf/knetworkconf.cpp b/knetworkconf/knetworkconf/knetworkconf.cpp
index 083bfe1..f0df35d 100644
--- a/knetworkconf/knetworkconf/knetworkconf.cpp
+++ b/knetworkconf/knetworkconf/knetworkconf.cpp
@@ -500,7 +500,7 @@ void KNetworkConf::aboutSlot(){
KAboutApplication *about = new KAboutApplication(kapp->aboutData(),0);
// about->setLogo(locate("icon","knetworkconf.png"));
- //qDebug("locate icon= %s",locate("icon","knetworkconf.png").latin1());
+ //tqDebug("locate icon= %s",locate("icon","knetworkconf.png").latin1());
about->show();
}
@@ -1159,7 +1159,7 @@ void KNetworkConf::updateProfileSlot()
TQString profileName = profileToUpdate->getProfileName();
if (profileName == selectedProfile)
{
- qDebug("profile updated");
+ tqDebug("profile updated");
newProfile->setProfileName(profileName);
newProfile->setDNSInfo(netInfo->getDNSInfo());
newProfile->setDeviceList(netInfo->getDeviceList());
diff --git a/knetworkconf/knetworkconf/knetworkconfigparser.cpp b/knetworkconf/knetworkconf/knetworkconfigparser.cpp
index 5f4d44e..58583d2 100644
--- a/knetworkconf/knetworkconf/knetworkconfigparser.cpp
+++ b/knetworkconf/knetworkconf/knetworkconfigparser.cpp
@@ -103,7 +103,7 @@ void KNetworkConfigParser::readListIfacesSlot(){
//The gst backend puts a \n at the beginning of the xml output, so
//we have to erase it first before we parse it.
xmlOuput = xmlOuput.section('\n',1);
- qDebug("XML -d list_ifaces: %s",xmlOuput.latin1());
+ tqDebug("XML -d list_ifaces: %s",xmlOuput.latin1());
TQString err;
int x,y;
TQDomDocument doc( "network-ifaces");
@@ -112,7 +112,7 @@ void KNetworkConfigParser::readListIfacesSlot(){
KMessageBox::error(0,
i18n("Could not parse the XML output from the network configuration backend."),
i18n("Error While Listing Network Interfaces"));
-// qDebug("error: %s %d,%d",err.latin1(),x,y);
+// tqDebug("error: %s %d,%d",err.latin1(),x,y);
}
TQDomElement root = doc.documentElement();
TQDomNode node = root.firstChild();
@@ -287,7 +287,7 @@ void KNetworkConfigParser::saveNetworkInfo(KNetworkInfo *networkInfo)
doc.appendChild( endComment );
TQString xml = doc.toString();
- qDebug("--set XML:\n%s",xml.latin1());
+ tqDebug("--set XML:\n%s",xml.latin1());
procSaveNetworkInfo = new TQProcess(this);
procSaveNetworkInfo->addArgument( locate("data",BACKEND_PATH) );
@@ -816,7 +816,7 @@ void KNetworkConfigParser::readNetworkInfo()
//The gst backend puts a \n at the beginning of the xml output, so
//we have to erase it first before we can parse it.
xmlOuput = xmlOuput.section('\n',1);
- qDebug("--get XML:\n%s",xmlOuput.latin1());
+ tqDebug("--get XML:\n%s",xmlOuput.latin1());
//If the platform where knetworkconf is running isn't supported, show the
//user a dialog with all the supported platforms to choose.
@@ -836,7 +836,7 @@ void KNetworkConfigParser::readNetworkInfo()
KMessageBox::error(0,
i18n("Could not parse the XML output from the network configuration backend."),
i18n("Error Loading The Network Configuration"));
-// qDebug("error: %s %d,%d",err.latin1(),x,y);
+// tqDebug("error: %s %d,%d",err.latin1(),x,y);
}
TQDomElement root = doc.documentElement();
diff --git a/kpackage/kissInterface.cpp b/kpackage/kissInterface.cpp
index 29de45f..34b3b4b 100644
--- a/kpackage/kissInterface.cpp
+++ b/kpackage/kissInterface.cpp
@@ -213,7 +213,7 @@ packageInfo *KISS::collectInfo(const char *_inp)
char *str, *xstr;
TQString qstr;
- char *inp = qstrdup(_inp);
+ char *inp = tqstrdup(_inp);
str = strtok(inp,"\n");
do {
xstr = strchr(str,':');
@@ -307,7 +307,7 @@ TQStringList KISS::getFileList(packageInfo *p)
reader.setup("kiss");
*reader.proc << "-f" << name;
if (reader.start(0,FALSE)) {
- char *buffer = qstrdup(reader.buf.ascii());
+ char *buffer = tqstrdup(reader.buf.ascii());
char *str = strtok(buffer,"\n");
if (str) {
do {
@@ -324,7 +324,7 @@ TQStringList KISS::getFileList(packageInfo *p)
reader.setup("perl");
*reader.proc << fn << "-f";
if (reader.start(0,TRUE)) {
- char *buffer = qstrdup(reader.buf.ascii());
+ char *buffer = tqstrdup(reader.buf.ascii());
char *str = strtok(buffer,"\n");
if (str) {
do {
diff --git a/kpackage/slackInterface.cpp b/kpackage/slackInterface.cpp
index e4c97a6..33120c2 100644
--- a/kpackage/slackInterface.cpp
+++ b/kpackage/slackInterface.cpp
@@ -373,7 +373,7 @@ packageInfo *SLACK::collectInfo(const char *_inp, int insState)
char *str, *xstr;
TQString qstr;
- char *inp = qstrdup(_inp);
+ char *inp = tqstrdup(_inp);
str = strtok(inp,"\n");
if (str) {
diff --git a/ksysv/TopWidget.cpp b/ksysv/TopWidget.cpp
index 181a717..199decb 100644
--- a/ksysv/TopWidget.cpp
+++ b/ksysv/TopWidget.cpp
@@ -549,7 +549,7 @@ void KSVTopLevel::editPaste()
}
}
else
- qFatal("Bug: could not get origin of \"Paste\" event.\n" \
+ tqFatal("Bug: could not get origin of \"Paste\" event.\n" \
"Please notify the maintainer of this program,\n" \
"Peter Putzer <putzer@kde.org>.");
}