Rename additional global TQt functions

remotes/gitea/gg-tdeadmin-kcron
Timothy Pearson 13 years ago
parent 280c7b0726
commit b35bfd30d1

@ -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());

@ -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();

@ -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 {

@ -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) {

@ -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>.");
}

Loading…
Cancel
Save