diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:32:31 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:32:31 -0600 |
commit | 5fb78f4b68672906005b059e7e5066c702bc5c90 (patch) | |
tree | 715819ae8220ea037525fe5d7f15f7879c137b88 /kradio3/src/kradioapp.cpp | |
parent | b66ecc4a25ee7b26513ffe3c91ffbed7fe313a0d (diff) | |
download | tderadio-5fb78f4b68672906005b059e7e5066c702bc5c90.tar.gz tderadio-5fb78f4b68672906005b059e7e5066c702bc5c90.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kradio3/src/kradioapp.cpp')
-rw-r--r-- | kradio3/src/kradioapp.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kradio3/src/kradioapp.cpp b/kradio3/src/kradioapp.cpp index 36be553..b5bc509 100644 --- a/kradio3/src/kradioapp.cpp +++ b/kradio3/src/kradioapp.cpp @@ -104,7 +104,7 @@ PluginLibraryInfo::PluginLibraryInfo (const TQString &lib_name) } else { KMessageBox::error(NULL, i18n("Library %1: Plugin Entry Point is missing\n") - .tqarg(lib_name), + .arg(lib_name), i18n("Plugin Library Load Error")); library->unload(); info_func = NULL; @@ -114,8 +114,8 @@ PluginLibraryInfo::PluginLibraryInfo (const TQString &lib_name) } else { KMessageBox::error(NULL, i18n("Library %1: \n%2") - .tqarg(lib_name) - .tqarg(KLibLoader::self()->lastErrorMessage()), + .arg(lib_name) + .arg(KLibLoader::self()->lastErrorMessage()), i18n("Plugin Library Load Error")); } } @@ -266,10 +266,10 @@ KLibrary *KRadioApp::LoadLibrary (const TQString &library) m_PluginInfos.insert(it.key(), PluginClassInfo (it.key(), *it, libinfo.init_func)); } } else { - kdDebug() << TQDateTime::tqcurrentDateTime().toString(Qt::ISODate) + kdDebug() << TQDateTime::currentDateTime().toString(Qt::ISODate) << " " << i18n("Error: Loading Library %1 failed: %2") - .tqarg(library).tqarg(KLibLoader::self()->lastErrorMessage()) + .arg(library).arg(KLibLoader::self()->lastErrorMessage()) << endl; } @@ -317,15 +317,15 @@ PluginBase *KRadioApp::CreatePlugin (PluginManager *manager, const TQString &cla if (m_PluginInfos.contains(class_name)) { retval = m_PluginInfos[class_name].CreateInstance(object_name); if (!retval) { - kdDebug() << TQDateTime::tqcurrentDateTime().toString(Qt::ISODate) + kdDebug() << TQDateTime::currentDateTime().toString(Qt::ISODate) << " " - << i18n("Error: Creation of instance \"%1\" of class %2 falied.").tqarg(object_name).tqarg(class_name) + << i18n("Error: Creation of instance \"%1\" of class %2 falied.").arg(object_name).arg(class_name) << endl; } } else { - kdDebug() << TQDateTime::tqcurrentDateTime().toString(Qt::ISODate) + kdDebug() << TQDateTime::currentDateTime().toString(Qt::ISODate) << " " - << i18n("Error: Cannot create instance \"%1\" of unknown class %2.").tqarg(object_name).tqarg(class_name) + << i18n("Error: Cannot create instance \"%1\" of unknown class %2.").arg(object_name).arg(class_name) << endl; } |