summaryrefslogtreecommitdiffstats
path: root/src/common/global
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:22:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-01 13:22:13 -0600
commit9abf98be4f3111c54f13dcb44902a275bd2d7169 (patch)
treed6771816657222c79deae56c23c2d6339cba27e3 /src/common/global
parent2b18f76290022900fe896ebac6b2b6da30a9f136 (diff)
downloadpiklab-9abf98be4f3111c54f13dcb44902a275bd2d7169.tar.gz
piklab-9abf98be4f3111c54f13dcb44902a275bd2d7169.zip
Rename additional global TQt functions
Diffstat (limited to 'src/common/global')
-rw-r--r--src/common/global/generic_config.cpp2
-rw-r--r--src/common/global/progress_monitor.cpp2
-rw-r--r--src/common/global/purl.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/common/global/generic_config.cpp b/src/common/global/generic_config.cpp
index 6ddf44c..6b50ff0 100644
--- a/src/common/global/generic_config.cpp
+++ b/src/common/global/generic_config.cpp
@@ -51,7 +51,7 @@ GenericConfig::~GenericConfig()
void GenericConfig::rollback()
{
#if defined(NO_KDE)
- qWarning("Config rollback not supported");
+ tqWarning("Config rollback not supported");
#else
_d->config().rollback();
#endif
diff --git a/src/common/global/progress_monitor.cpp b/src/common/global/progress_monitor.cpp
index 0b3044d..bcb75a1 100644
--- a/src/common/global/progress_monitor.cpp
+++ b/src/common/global/progress_monitor.cpp
@@ -78,7 +78,7 @@ void ProgressMonitor::addTaskProgress(uint nbSteps)
if ( _current==_tasks.end() ) return;
uint nb = (*_current).nbDoneSteps + nbSteps;
Q_ASSERT( nb<=(*_current).nbSteps );
- if ( nb>(*_current).nbSteps ) qDebug("%s %i+%i > %i", (*_current).label.latin1(), (*_current).nbDoneSteps, nbSteps, (*_current).nbSteps);
+ if ( nb>(*_current).nbSteps ) tqDebug("%s %i+%i > %i", (*_current).label.latin1(), (*_current).nbDoneSteps, nbSteps, (*_current).nbSteps);
(*_current).nbDoneSteps = TQMIN(nb, (*_current).nbSteps);
update();
}
diff --git a/src/common/global/purl.cpp b/src/common/global/purl.cpp
index d0b5498..c9ff16d 100644
--- a/src/common/global/purl.cpp
+++ b/src/common/global/purl.cpp
@@ -62,7 +62,7 @@ TQString PURL::Private::getWindowsDrivePath(char drive)
::Process::StringOutput process;
process.setup("winepath", args, false);
::Process::State state = ::Process::runSynchronously(process, ::Process::Start, 3000);
- if ( state!=::Process::Exited ) qWarning("Error running \"winepath\" with \"%s\" (%i)", args.join(" ").latin1(), state);
+ if ( state!=::Process::Exited ) tqWarning("Error running \"winepath\" with \"%s\" (%i)", args.join(" ").latin1(), state);
s = process.sout() + process.serr();
TQDir dir(s.stripWhiteSpace());
_winDrives[drive] = dir.canonicalPath();
@@ -250,7 +250,7 @@ bool PURL::Base::isInto(const Directory &dir) const
bool PURL::Base::httpUrlExists(bool *ok) const
{
- qInitNetworkProtocols();
+ tqInitNetworkProtocols();
if (ok) *ok = false;
Http http(_url.host());
Synchronous sync(500);