diff options
Diffstat (limited to 'lib/kross/main')
-rw-r--r-- | lib/kross/main/wdgscriptsmanager.cpp | 16 | ||||
-rw-r--r-- | lib/kross/main/wdgscriptsmanager.h | 2 | ||||
-rw-r--r-- | lib/kross/main/wdgscriptsmanagerbase.ui | 2 |
3 files changed, 10 insertions, 10 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()); diff --git a/lib/kross/main/wdgscriptsmanager.h b/lib/kross/main/wdgscriptsmanager.h index b953f862..34976373 100644 --- a/lib/kross/main/wdgscriptsmanager.h +++ b/lib/kross/main/wdgscriptsmanager.h @@ -53,7 +53,7 @@ class WdgScriptsManager : public WdgScriptsManagerBase private: WdgScriptsManagerPrivate* d; void addItem(ScriptActionCollection* collection); - TQListViewItem* addItem(ScriptAction::Ptr, TQListViewItem* tqparentitem, TQListViewItem* afteritem); + TQListViewItem* addItem(ScriptAction::Ptr, TQListViewItem* parentitem, TQListViewItem* afteritem); }; }} diff --git a/lib/kross/main/wdgscriptsmanagerbase.ui b/lib/kross/main/wdgscriptsmanagerbase.ui index 22ad3867..379fb2db 100644 --- a/lib/kross/main/wdgscriptsmanagerbase.ui +++ b/lib/kross/main/wdgscriptsmanagerbase.ui @@ -233,7 +233,7 @@ <data format="XBM.GZ" length="79">789c534e494dcbcc4b554829cdcdad8c2fcf4c29c95030e0524611cd48cd4ccf28010a1797249664262b2467241641a592324b8aa363156c15aab914146aadb90067111b1f</data> </image> </images> -<tqlayoutdefaults spacing="6" margin="11"/> +<layoutdefaults spacing="6" margin="11"/> <includehints> <includehint>klistview.h</includehint> <includehint>ktoolbar.h</includehint> |