diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:54:04 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:54:04 +0000 |
commit | dc6b8e72fed2586239e3514819238c520636c9d9 (patch) | |
tree | 88b200df0a0b7fab9d6f147596173556f1ed9a13 /kommander/plugin/kommanderplugin.cpp | |
parent | 6927d4436e54551917f600b706a8d6109e49de1c (diff) | |
download | tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kommander/plugin/kommanderplugin.cpp')
-rw-r--r-- | kommander/plugin/kommanderplugin.cpp | 20 |
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); } |