diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:09:42 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:09:42 -0600 |
commit | 2df6bde18ab40472f2df8637cf6456cb80dc2329 (patch) | |
tree | 5a4362124ff46786fce835d2f1e7d583c92a5670 /examples/uiqxembed.py | |
parent | be6cfa4b990910e65e8d2f4f212eba3f7da6ee72 (diff) | |
download | pytde-2df6bde18ab40472f2df8637cf6456cb80dc2329.tar.gz pytde-2df6bde18ab40472f2df8637cf6456cb80dc2329.zip |
Rename a number of classes to enhance compatibility with KDE4
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) |