summaryrefslogtreecommitdiffstats
path: root/lib/kross/test
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kross/test')
-rw-r--r--lib/kross/test/testgui.py8
-rw-r--r--lib/kross/test/testobject.cpp4
-rw-r--r--lib/kross/test/testobject.h2
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/kross/test/testgui.py b/lib/kross/test/testgui.py
index a7353873..98552044 100644
--- a/lib/kross/test/testgui.py
+++ b/lib/kross/test/testgui.py
@@ -44,8 +44,8 @@ class QtTest:
apply(qt.QPushButton.__init__, (self,) + args)
class ComboBox(qt.QHBox):
- def __init__(self, tqparent, caption, items = []):
- qt.QHBox.__init__(self, tqparent)
+ def __init__(self, parent, caption, items = []):
+ qt.QHBox.__init__(self, parent)
self.setSpacing(6)
label = qt.QLabel(str(caption), self)
self.combobox = qt.QComboBox(self)
@@ -85,8 +85,8 @@ class QtTest:
self.edit.setText(filename)
class Dialog(qt.QDialog):
- def __init__(self, tqparent = None, name = None, modal = 0, fl = 0):
- qt.QDialog.__init__(self, tqparent, name, modal, fl)
+ def __init__(self, parent = None, name = None, modal = 0, fl = 0):
+ qt.QDialog.__init__(self, parent, name, modal, fl)
qt.QDialog.accept = self.accept
self.setCaption("Export to HTML")
#self.tqlayout()
diff --git a/lib/kross/test/testobject.cpp b/lib/kross/test/testobject.cpp
index 1c7e8e39..eb687d02 100644
--- a/lib/kross/test/testobject.cpp
+++ b/lib/kross/test/testobject.cpp
@@ -26,8 +26,8 @@ TestObject::TestObject()
{
}
-TestObject::TestObject(TQObject* tqparent, Kross::Api::ScriptContainer::Ptr scriptcontainer)
- : TQObject(tqparent, "TestObject")
+TestObject::TestObject(TQObject* parent, Kross::Api::ScriptContainer::Ptr scriptcontainer)
+ : TQObject(parent, "TestObject")
{
connect(this, TQT_SIGNAL(testSignal()), this, TQT_SLOT(testSignalSlot()));
connect(this, TQT_SIGNAL(stdoutSignal(const TQString&)), this, TQT_SLOT(stdoutSlot(const TQString&)));
diff --git a/lib/kross/test/testobject.h b/lib/kross/test/testobject.h
index 5a04d9dc..7bbf6f05 100644
--- a/lib/kross/test/testobject.h
+++ b/lib/kross/test/testobject.h
@@ -34,7 +34,7 @@ class TestObject : public TQObject
public:
TestObject();
- TestObject(TQObject* tqparent, Kross::Api::ScriptContainer::Ptr scriptcontainer);
+ TestObject(TQObject* parent, Kross::Api::ScriptContainer::Ptr scriptcontainer);
~TestObject();
uint func1(uint);