summaryrefslogtreecommitdiffstats
path: root/kommander/plugin/kommanderplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/plugin/kommanderplugin.cpp')
-rw-r--r--kommander/plugin/kommanderplugin.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kommander/plugin/kommanderplugin.cpp b/kommander/plugin/kommanderplugin.cpp
index 9be1c2d5..f0d94faf 100644
--- a/kommander/plugin/kommanderplugin.cpp
+++ b/kommander/plugin/kommanderplugin.cpp
@@ -25,46 +25,46 @@ KommanderPlugin::~KommanderPlugin()
{
}
-void KommanderPlugin::addWidget( const QString &name, const QString &group, const QString &toolTip, QIconSet *iconSet, const QString &whatsThis, bool isContainer)
+void KommanderPlugin::addWidget( const TQString &name, const TQString &group, const TQString &toolTip, TQIconSet *iconSet, const TQString &whatsThis, bool isContainer)
{
m_widgets[name] = WidgetInfo( group, toolTip, iconSet, whatsThis, isContainer );
}
-void KommanderPlugin::removeWidget( const QString &name )
+void KommanderPlugin::removeWidget( const TQString &name )
{
m_widgets.remove( name );
}
-QStringList KommanderPlugin::widgets() const
+TQStringList KommanderPlugin::widgets() const
{
- QStringList ws;
+ TQStringList ws;
WidgetInfos::ConstIterator it;
for( it = m_widgets.begin() ; it != m_widgets.end() ; ++ it )
ws += it.key();
return ws;
}
-QString KommanderPlugin::group( const QString &name ) const
+TQString KommanderPlugin::group( const TQString &name ) const
{
return m_widgets[name].group;
}
-QString KommanderPlugin::toolTip( const QString &name ) const
+TQString KommanderPlugin::toolTip( const TQString &name ) const
{
return m_widgets[name].toolTip;
}
-QString KommanderPlugin::whatsThis( const QString &name ) const
+TQString KommanderPlugin::whatsThis( const TQString &name ) const
{
return m_widgets[name].whatsThis;
}
-bool KommanderPlugin::isContainer( const QString &name ) const
+bool KommanderPlugin::isContainer( const TQString &name ) const
{
return m_widgets[name].isContainer;
}
-QIconSet* KommanderPlugin::iconSet( const QString &name ) const
+TQIconSet* KommanderPlugin::iconSet( const TQString &name ) const
{
return m_widgets[name].iconSet;
}
@@ -74,7 +74,7 @@ void KommanderPlugin::setDefaultGroup( int id )
SpecialInformation::setDefaultGroup(id);
}
-bool KommanderPlugin::registerFunction(int id, const QString& function, const QString description , int minArgs, int maxArgs)
+bool KommanderPlugin::registerFunction(int id, const TQString& function, const TQString description , int minArgs, int maxArgs)
{
return SpecialInformation::insert(id, function, description, minArgs, maxArgs);
}