diff options
Diffstat (limited to 'examples/uiqxembed.py')
-rw-r--r-- | examples/uiqxembed.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/uiqxembed.py b/examples/uiqxembed.py index 0ed9258..487016b 100644 --- a/examples/uiqxembed.py +++ b/examples/uiqxembed.py @@ -8,7 +8,7 @@ from qt import TQIconSet, TQProcess, TQTimer, SIGNAL, SLOT from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal, KIcon from tdecore import KWin, KWinModule -from tdeui import KComboBox, KMainWindow, KPushButton, QXEmbed +from tdeui import KComboBox, TDEMainWindow, KPushButton, QXEmbed ## add the missing items to the pyuic-generated module @@ -89,12 +89,12 @@ class ExampleForm(QXEmbedExample): tabs.setTabIconSet(embedded, TQIconSet(pxm)) -class ExampleMain(KMainWindow): +class ExampleMain(TDEMainWindow): """ an example main window """ def __init__ (self, *args): - KMainWindow.__init__(self, *args) + TDEMainWindow.__init__(self, *args) self.setGeometry(0, 0, 400, 400) self.embed = embed = ExampleForm(self) self.setCentralWidget(embed) |