diff options
Diffstat (limited to 'lib/kross/main/wdgscriptsmanager.cpp')
-rw-r--r-- | lib/kross/main/wdgscriptsmanager.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/kross/main/wdgscriptsmanager.cpp b/lib/kross/main/wdgscriptsmanager.cpp index 7b9a927d..781f344b 100644 --- a/lib/kross/main/wdgscriptsmanager.cpp +++ b/lib/kross/main/wdgscriptsmanager.cpp @@ -57,8 +57,8 @@ namespace Kross { namespace Api { class ScriptNewStuff : public KNewStuffSecure { public: - ScriptNewStuff(ScriptGUIClient* scripguiclient, const TQString& type, TQWidget *tqparentWidget = 0) - : KNewStuffSecure(type, tqparentWidget) + ScriptNewStuff(ScriptGUIClient* scripguiclient, const TQString& type, TQWidget *parentWidget = 0) + : KNewStuffSecure(type, parentWidget) , m_scripguiclient(scripguiclient) {} virtual ~ScriptNewStuff() {} private: @@ -73,11 +73,11 @@ class ListItem : public TQListViewItem ScriptActionCollection* m_collection; ScriptAction::Ptr m_action; public: - ListItem(TQListView* tqparentview, ScriptActionCollection* collection) - : TQListViewItem(tqparentview), m_collection(collection), m_action(0) {} + ListItem(TQListView* parentview, ScriptActionCollection* collection) + : TQListViewItem(parentview), m_collection(collection), m_action(0) {} - ListItem(ListItem* tqparentitem, TQListViewItem* afteritem, ScriptAction::Ptr action) - : TQListViewItem(tqparentitem, afteritem), m_collection( tqparentitem->collection() ), m_action(action) {} + ListItem(ListItem* parentitem, TQListViewItem* afteritem, ScriptAction::Ptr action) + : TQListViewItem(parentitem, afteritem), m_collection( parentitem->collection() ), m_action(action) {} ScriptAction::Ptr action() const { return m_action; } ScriptActionCollection* collection() const { return m_collection; } @@ -206,12 +206,12 @@ void WdgScriptsManager::addItem(ScriptActionCollection* collection) lastitem = addItem(*it, i, lastitem); } -TQListViewItem* WdgScriptsManager::addItem(ScriptAction::Ptr action, TQListViewItem* tqparentitem, TQListViewItem* afteritem) +TQListViewItem* WdgScriptsManager::addItem(ScriptAction::Ptr action, TQListViewItem* parentitem, TQListViewItem* afteritem) { if(! action) return 0; - ListItem* i = new ListItem(dynamic_cast<ListItem*>(tqparentitem), afteritem, action); + ListItem* i = new ListItem(dynamic_cast<ListItem*>(parentitem), afteritem, action); i->setText(0, action->text()); // FIXME: i18nise it for ko2.0 //i->setText(1, action->getDescription()); // FIXME: i18nise it for ko2.0 //i->setText(2, action->name()); |