summaryrefslogtreecommitdiffstats
path: root/kradio3/src/pluginmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/src/pluginmanager.cpp')
-rw-r--r--kradio3/src/pluginmanager.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kradio3/src/pluginmanager.cpp b/kradio3/src/pluginmanager.cpp
index 09f8a59..6164f20 100644
--- a/kradio3/src/pluginmanager.cpp
+++ b/kradio3/src/pluginmanager.cpp
@@ -27,7 +27,7 @@
#include <kconfig.h>
#include <kprogress.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqframe.h>
#include <tqmenudata.h>
@@ -120,7 +120,7 @@ void PluginManager::updateWidgetPluginMenuItem(WidgetPluginBase *b, TQMenuData *
return;
const TQString &name = b->description();
- TQString text = (shown ? i18n("Hide %1") : i18n("Show %1")).arg(name);
+ TQString text = (shown ? i18n("Hide %1") : i18n("Show %1")).tqarg(name);
menu->changeItem(map[b],
TQIconSet(SmallIconSet(!shown ? "kradio_show" : "kradio_hide")),
@@ -153,7 +153,7 @@ void PluginManager::insertPlugin(PluginBase *p)
if (p) {
BlockProfiler profiler_cfg("PluginManager::insertPlugin - about/config");
- /*kdDebug() << TQDateTime::currentDateTime().toString(Qt::ISODate)
+ /*kdDebug() << TQDateTime::tqcurrentDateTime().toString(Qt::ISODate)
<< " Debug: Adding Plugin: " << p->name() << "\n";*/
if (!m_configDialog)
@@ -173,7 +173,7 @@ void PluginManager::insertPlugin(PluginBase *p)
// connect plugins with each other
for (PluginIterator it(m_plugins); it.current(); ++it) {
if (it.current() != p) {
- /*kdDebug() << TQDateTime::currentDateTime().toString(Qt::ISODate)
+ /*kdDebug() << TQDateTime::tqcurrentDateTime().toString(Qt::ISODate)
<< " Debug: connecting with " << it.current()->name() << "\n";*/
p->connectI(it.current());
}
@@ -295,7 +295,7 @@ TQFrame *PluginManager::addConfigurationPage (const ConfigPageInfo &info)
KGlobal::instance()->iconLoader()->loadIcon( info.iconName, KIcon::NoGroup, KIcon::SizeMedium )
);
- // fill config frame with layout ...
+ // fill config frame with tqlayout ...
TQGridLayout *l = new TQGridLayout(f);
l->setSpacing( 0 );
l->setMargin( 0 );
@@ -378,7 +378,7 @@ void PluginManager::addAboutPage (PluginBase *forWhom,
m_aboutPageFrames.insert(forWhom, f);
m_aboutPages.insert(forWhom, info.page);
- // fill config frame with layout ...
+ // fill config frame with tqlayout ...
TQGridLayout *l = new TQGridLayout(f);
l->setSpacing( 0 );
l->setMargin( 0 );
@@ -456,7 +456,7 @@ void PluginManager::restoreState (KConfig *c)
TQString object_name = c->readEntry("plugin_name_" + TQString::number(i));
if (m_showProgressBar)
- progress->TQWidget::setCaption(i18n("Creating Plugin %1").arg(class_name));
+ progress->TQWidget::setCaption(i18n("Creating Plugin %1").tqarg(class_name));
if (class_name.length() && object_name.length())
m_Application->CreatePlugin(this, class_name, object_name);
if (m_showProgressBar)
@@ -473,7 +473,7 @@ void PluginManager::restoreState (KConfig *c)
for (TQMapConstIterator<TQString, PluginClassInfo> it=classes.begin(); it != end; ++it, ++idx) {
const PluginClassInfo &cls = *it;
if (m_showProgressBar)
- progress->TQWidget::setCaption(i18n("Creating Plugin %1").arg(cls.class_name));
+ progress->TQWidget::setCaption(i18n("Creating Plugin %1").tqarg(cls.class_name));
m_Application->CreatePlugin(this, cls.class_name, m_Name + "-" + cls.class_name);
if (m_showProgressBar)
progress->progressBar()->setProgress(idx);
@@ -487,7 +487,7 @@ void PluginManager::restoreState (KConfig *c)
for (PluginIterator i(m_plugins); i.current(); ++i, ++idx) {
BlockProfiler profile_plugin("PluginManager::restoreState - " + i.current()->pluginClassName());
if (m_showProgressBar)
- progress->TQWidget::setCaption(i18n("Initializing Plugin %1").arg(i.current()->pluginClassName()));
+ progress->TQWidget::setCaption(i18n("Initializing Plugin %1").tqarg(i.current()->pluginClassName()));
i.current()->restoreState(c);
if (m_showProgressBar)
progress->progressBar()->setProgress(idx+1);