summaryrefslogtreecommitdiffstats
path: root/lib/kross
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kross')
-rw-r--r--lib/kross/main/wdgscriptsmanager.cpp16
-rw-r--r--lib/kross/main/wdgscriptsmanager.h2
-rw-r--r--lib/kross/main/wdgscriptsmanagerbase.ui2
-rwxr-xr-xlib/kross/python/scripts/gui.py28
4 files changed, 24 insertions, 24 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>
diff --git a/lib/kross/python/scripts/gui.py b/lib/kross/python/scripts/gui.py
index b8edbe9c..89a07066 100755
--- a/lib/kross/python/scripts/gui.py
+++ b/lib/kross/python/scripts/gui.py
@@ -371,26 +371,26 @@ class Dialog:
def close(self):
self.dialog.close()
- def addFrame(self, tqparentwidget):
- return self.dialog.Frame(self.dialog, tqparentwidget.widget)
+ def addFrame(self, parentwidget):
+ return self.dialog.Frame(self.dialog, parentwidget.widget)
- def addLabel(self, tqparentwidget, caption):
- return self.dialog.Label(self.dialog, tqparentwidget.widget, caption)
+ def addLabel(self, parentwidget, caption):
+ return self.dialog.Label(self.dialog, parentwidget.widget, caption)
- def addCheckBox(self, tqparentwidget, caption, checked = True):
- return self.dialog.CheckBox(self.dialog, tqparentwidget.widget, caption, checked)
+ def addCheckBox(self, parentwidget, caption, checked = True):
+ return self.dialog.CheckBox(self.dialog, parentwidget.widget, caption, checked)
- def addButton(self, tqparentwidget, caption, commandmethod):
- return self.dialog.Button(self.dialog, tqparentwidget.widget, caption, commandmethod)
+ def addButton(self, parentwidget, caption, commandmethod):
+ return self.dialog.Button(self.dialog, parentwidget.widget, caption, commandmethod)
- def addEdit(self, tqparentwidget, caption, text):
- return self.dialog.Edit(self.dialog, tqparentwidget.widget, caption, text)
+ def addEdit(self, parentwidget, caption, text):
+ return self.dialog.Edit(self.dialog, parentwidget.widget, caption, text)
- def addFileChooser(self, tqparentwidget, caption, initialfile = None, filetypes = None):
- return self.dialog.FileChooser(self.dialog, tqparentwidget.widget, caption, initialfile, filetypes)
+ def addFileChooser(self, parentwidget, caption, initialfile = None, filetypes = None):
+ return self.dialog.FileChooser(self.dialog, parentwidget.widget, caption, initialfile, filetypes)
- def addList(self, tqparentwidget, caption, items):
- return self.dialog.List(self.dialog, tqparentwidget.widget, caption, items)
+ def addList(self, parentwidget, caption, items):
+ return self.dialog.List(self.dialog, parentwidget.widget, caption, items)
def showMessageBox(self, typename, caption, message):
return self.dialog.MessageBox(self.dialog, typename, caption, message)