summaryrefslogtreecommitdiffstats
path: root/src/kchmconfig.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-03-01 13:18:52 -0600
committerTimothy Pearson <[email protected]>2012-03-01 13:18:52 -0600
commitebabab113252ed75baf5c8181937f14c55a8886b (patch)
tree54cd41c7941b9f4df75f4017d7cab61a63b8d74c /src/kchmconfig.cpp
parenta06972de3036b2c2cc2b49a6a100cede2358541f (diff)
downloadkchmviewer-ebabab113252ed75baf5c8181937f14c55a8886b.tar.gz
kchmviewer-ebabab113252ed75baf5c8181937f14c55a8886b.zip
Rename additional global TQt functions
Diffstat (limited to 'src/kchmconfig.cpp')
-rw-r--r--src/kchmconfig.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kchmconfig.cpp b/src/kchmconfig.cpp
index 5918a2c..8f33057 100644
--- a/src/kchmconfig.cpp
+++ b/src/kchmconfig.cpp
@@ -38,7 +38,7 @@ KCHMConfig::KCHMConfig()
dir.setPath (m_datapath);
if ( !dir.exists() && !dir.mkdir(m_datapath) )
- qWarning ("Could not create directory %s", m_datapath.ascii());
+ tqWarning ("Could not create directory %s", m_datapath.ascii());
m_LoadLatestFileOnStartup = false;
m_onNewChmClick = ACTION_ASK_USER;
@@ -93,7 +93,7 @@ bool KCHMConfig::load()
else if ( rxsection.cap (1) == "history" )
getting_history = true;
else
- qWarning ("Unknown configuration section: %s", TQString(rxsection.cap(1)).ascii());
+ tqWarning ("Unknown configuration section: %s", TQString(rxsection.cap(1)).ascii());
continue;
}
@@ -132,7 +132,7 @@ bool KCHMConfig::load()
else if ( key == "useSearchEngine" )
m_useSearchEngine = (use_search_engine) value.toInt();
else
- qWarning ("Unknown key=value pair: %s", line.ascii());
+ tqWarning ("Unknown key=value pair: %s", line.ascii());
}
else if ( getting_history )
{
@@ -140,7 +140,7 @@ bool KCHMConfig::load()
addFileToHistory( line );
}
else
- qWarning ("Unknown line in configuration: %s", line.ascii());
+ tqWarning ("Unknown line in configuration: %s", line.ascii());
}
return true;
@@ -151,7 +151,7 @@ bool KCHMConfig::save( )
TQFile file (m_datapath + "/config");
if ( !file.open (IO_WriteOnly) )
{
- qWarning ("Could not write settings into file %s: %s", TQString(file.name()).ascii(), TQString(file.errorString()).ascii());
+ tqWarning ("Could not write settings into file %s: %s", TQString(file.name()).ascii(), TQString(file.errorString()).ascii());
return false;
}