diff options
Diffstat (limited to 'app_templates/kcontrol_module/src')
-rw-r--r-- | app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.ui | 4 | ||||
-rwxr-xr-x | app_templates/kcontrol_module/src/kcontrol_module.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.ui b/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.ui index 4ff94d7..efc23cd 100644 --- a/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.ui +++ b/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.ui @@ -1,6 +1,6 @@ <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> <class>KcontrolModuleWidgetUI</class> -<widget class="QWidget"> +<widget class="TQWidget"> <property name="name"> <cstring>KcontrolModuleWidgetUI</cstring> </property> @@ -19,7 +19,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QLabel"> + <widget class="TQLabel"> <property name="name"> <cstring>textLabel1</cstring> </property> diff --git a/app_templates/kcontrol_module/src/kcontrol_module.py b/app_templates/kcontrol_module/src/kcontrol_module.py index f5cf394..f1c18de 100755 --- a/app_templates/kcontrol_module/src/kcontrol_module.py +++ b/app_templates/kcontrol_module/src/kcontrol_module.py @@ -16,7 +16,7 @@ ########################################################################### import sys -from PyTQt.qt import * +from PyTQt.tqt import * from tdecore import * from tdeui import * @@ -72,10 +72,10 @@ class KcontrolModuleApp(programbase): TDEGlobal.iconLoader().addAppDir("kcontrol_module") if standalone: - toplayout = QVBoxLayout( self.plainPage(), 0, KDialog.spacingHint() ) + toplayout = TQVBoxLayout( self.plainPage(), 0, KDialog.spacingHint() ) mainwidget = KcontrolModuleWidget(self.plainPage()) else: - toplayout = QVBoxLayout( self, 0, KDialog.spacingHint() ) + toplayout = TQVBoxLayout( self, 0, KDialog.spacingHint() ) mainwidget = KcontrolModuleWidget(self) toplayout.addWidget(mainwidget) |