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); KAboutApplication *about = new KAboutApplication(kapp->aboutData(),0);
// about->setLogo(locate("icon","knetworkconf.png")); // 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(); about->show();
} }
@ -1159,7 +1159,7 @@ void KNetworkConf::updateProfileSlot()
TQString profileName = profileToUpdate->getProfileName(); TQString profileName = profileToUpdate->getProfileName();
if (profileName == selectedProfile) if (profileName == selectedProfile)
{ {
qDebug("profile updated"); tqDebug("profile updated");
newProfile->setProfileName(profileName); newProfile->setProfileName(profileName);
newProfile->setDNSInfo(netInfo->getDNSInfo()); newProfile->setDNSInfo(netInfo->getDNSInfo());
newProfile->setDeviceList(netInfo->getDeviceList()); 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 //The gst backend puts a \n at the beginning of the xml output, so
//we have to erase it first before we parse it. //we have to erase it first before we parse it.
xmlOuput = xmlOuput.section('\n',1); xmlOuput = xmlOuput.section('\n',1);
qDebug("XML -d list_ifaces: %s",xmlOuput.latin1()); tqDebug("XML -d list_ifaces: %s",xmlOuput.latin1());
TQString err; TQString err;
int x,y; int x,y;
TQDomDocument doc( "network-ifaces"); TQDomDocument doc( "network-ifaces");
@ -112,7 +112,7 @@ void KNetworkConfigParser::readListIfacesSlot(){
KMessageBox::error(0, KMessageBox::error(0,
i18n("Could not parse the XML output from the network configuration backend."), i18n("Could not parse the XML output from the network configuration backend."),
i18n("Error While Listing Network Interfaces")); 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(); TQDomElement root = doc.documentElement();
TQDomNode node = root.firstChild(); TQDomNode node = root.firstChild();
@ -287,7 +287,7 @@ void KNetworkConfigParser::saveNetworkInfo(KNetworkInfo *networkInfo)
doc.appendChild( endComment ); doc.appendChild( endComment );
TQString xml = doc.toString(); TQString xml = doc.toString();
qDebug("--set XML:\n%s",xml.latin1()); tqDebug("--set XML:\n%s",xml.latin1());
procSaveNetworkInfo = new TQProcess(this); procSaveNetworkInfo = new TQProcess(this);
procSaveNetworkInfo->addArgument( locate("data",BACKEND_PATH) ); 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 //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. //we have to erase it first before we can parse it.
xmlOuput = xmlOuput.section('\n',1); 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 //If the platform where knetworkconf is running isn't supported, show the
//user a dialog with all the supported platforms to choose. //user a dialog with all the supported platforms to choose.
@ -836,7 +836,7 @@ void KNetworkConfigParser::readNetworkInfo()
KMessageBox::error(0, KMessageBox::error(0,
i18n("Could not parse the XML output from the network configuration backend."), i18n("Could not parse the XML output from the network configuration backend."),
i18n("Error Loading The Network Configuration")); 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(); TQDomElement root = doc.documentElement();

@ -213,7 +213,7 @@ packageInfo *KISS::collectInfo(const char *_inp)
char *str, *xstr; char *str, *xstr;
TQString qstr; TQString qstr;
char *inp = qstrdup(_inp); char *inp = tqstrdup(_inp);
str = strtok(inp,"\n"); str = strtok(inp,"\n");
do { do {
xstr = strchr(str,':'); xstr = strchr(str,':');
@ -307,7 +307,7 @@ TQStringList KISS::getFileList(packageInfo *p)
reader.setup("kiss"); reader.setup("kiss");
*reader.proc << "-f" << name; *reader.proc << "-f" << name;
if (reader.start(0,FALSE)) { if (reader.start(0,FALSE)) {
char *buffer = qstrdup(reader.buf.ascii()); char *buffer = tqstrdup(reader.buf.ascii());
char *str = strtok(buffer,"\n"); char *str = strtok(buffer,"\n");
if (str) { if (str) {
do { do {
@ -324,7 +324,7 @@ TQStringList KISS::getFileList(packageInfo *p)
reader.setup("perl"); reader.setup("perl");
*reader.proc << fn << "-f"; *reader.proc << fn << "-f";
if (reader.start(0,TRUE)) { if (reader.start(0,TRUE)) {
char *buffer = qstrdup(reader.buf.ascii()); char *buffer = tqstrdup(reader.buf.ascii());
char *str = strtok(buffer,"\n"); char *str = strtok(buffer,"\n");
if (str) { if (str) {
do { do {

@ -373,7 +373,7 @@ packageInfo *SLACK::collectInfo(const char *_inp, int insState)
char *str, *xstr; char *str, *xstr;
TQString qstr; TQString qstr;
char *inp = qstrdup(_inp); char *inp = tqstrdup(_inp);
str = strtok(inp,"\n"); str = strtok(inp,"\n");
if (str) { if (str) {

@ -549,7 +549,7 @@ void KSVTopLevel::editPaste()
} }
} }
else 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" \ "Please notify the maintainer of this program,\n" \
"Peter Putzer <putzer@kde.org>."); "Peter Putzer <putzer@kde.org>.");
} }

Loading…
Cancel
Save