From ebabab113252ed75baf5c8181937f14c55a8886b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:18:52 -0600 Subject: Rename additional global TQt functions --- src/kchmconfig.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/kchmconfig.cpp') 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; } -- cgit v1.2.3