summaryrefslogtreecommitdiffstats
path: root/examples/pytde-sampler
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:18:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:18:41 -0600
commit352b2ef6c06332062d35211d7f49942315d2f36a (patch)
tree842a828f1f3c6686c33cd8512d00b80d6feaefdd /examples/pytde-sampler
parent8bd906c03534d2ad9cff2f22e957bf30987c99a9 (diff)
downloadpytde-352b2ef6c06332062d35211d7f49942315d2f36a.tar.gz
pytde-352b2ef6c06332062d35211d7f49942315d2f36a.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'examples/pytde-sampler')
-rw-r--r--examples/pytde-sampler/dialogs/config.py14
-rw-r--r--examples/pytde-sampler/qt_widgets/CONTRIB26
-rwxr-xr-xexamples/pytde-sampler/sampler.py2
3 files changed, 21 insertions, 21 deletions
diff --git a/examples/pytde-sampler/dialogs/config.py b/examples/pytde-sampler/dialogs/config.py
index 8700cff..0710d2d 100644
--- a/examples/pytde-sampler/dialogs/config.py
+++ b/examples/pytde-sampler/dialogs/config.py
@@ -1,17 +1,17 @@
from qt import TQFrame, TQHBoxLayout, TQVBoxLayout, TQTimer, SIGNAL, TQString
-from tdecore import i18n, KConfigSkeleton
-from tdeui import KPushButton, KConfigDialog, KTextEdit
+from tdecore import i18n, TDEConfigSkeleton
+from tdeui import KPushButton, TDEConfigDialog, KTextEdit
iconName = 'configure'
-labelText = 'KConfigDialog'
-docParts = ('tdeui', 'KConfigDialog')
+labelText = 'TDEConfigDialog'
+docParts = ('tdeui', 'TDEConfigDialog')
helpText = ("")
-class SampleSettings(KConfigSkeleton):
+class SampleSettings(TDEConfigSkeleton):
def __init__(self):
- KConfigSkeleton.__init__(self)
+ TDEConfigSkeleton.__init__(self)
self.anyString = TQString()
self.setCurrentGroup("Strings")
@@ -38,7 +38,7 @@ class MainFrame(TQFrame):
def showConfigDialog(self):
config = SampleSettings()
- dlg = KConfigDialog(self, 'Sampler Config', config)
+ dlg = TDEConfigDialog(self, 'Sampler Config', config)
self.strings = StringsSettings(self)
self.bools = BoolSettings(self)
dlg.addPage(self.strings, 'Strings', 'Strings')
diff --git a/examples/pytde-sampler/qt_widgets/CONTRIB b/examples/pytde-sampler/qt_widgets/CONTRIB
index 0f73273..d5bb1b6 100644
--- a/examples/pytde-sampler/qt_widgets/CONTRIB
+++ b/examples/pytde-sampler/qt_widgets/CONTRIB
@@ -33,15 +33,15 @@ tdecore,KCmdLineOptions,,,
tdecore,KCodecs,,,
tdecore,KCompletion,,,
tdecore,KCompletionBase,,,
-tdecore,KConfig,,,
-tdecore,KConfigBackEnd,,,
-tdecore,KConfigBase,,,
-tdecore,KConfigDialogManager,,,
-tdecore,KConfigGroup,,,
-tdecore,KConfigGroupSaver,,,
-tdecore,KConfigINIBackEnd,,,
-tdecore,KConfigSkeleton,,,
-tdecore,KConfigSkeletonItem,,,
+tdecore,TDEConfig,,,
+tdecore,TDEConfigBackEnd,,,
+tdecore,TDEConfigBase,,,
+tdecore,TDEConfigDialogManager,,,
+tdecore,TDEConfigGroup,,,
+tdecore,TDEConfigGroupSaver,,,
+tdecore,TDEConfigINIBackEnd,,,
+tdecore,TDEConfigSkeleton,,,
+tdecore,TDEConfigSkeletonItem,,,
tdecore,KCrash,,,
tdecore,KDCOPPropertyProxy,,,
tdecore,KDE,,,
@@ -86,7 +86,7 @@ tdecore,KRootProp,,,
tdecore,KSaveFile,,,
tdecore,KSelectionOwner,,,
tdecore,KSelectionWatcher,,,
-tdecore,KServerSocket,,,
+tdecore,TDEServerSocket,,,
tdecore,KSessionManaged,,,
tdecore,KShared,,,
tdecore,KSharedConfig,,,
@@ -95,7 +95,7 @@ tdecore,KShellProcess,,,
tdecore,KShortcut,,,
tdecore,KShortcutList,,,
tdecore,KSimpleConfig,,,
-tdecore,KSocket,,,
+tdecore,TDESocket,,,
tdecore,KStandardDirs,,,
tdecore,KStartupInfo,,,
tdecore,KStartupInfoData,,,
@@ -192,7 +192,7 @@ tdeui,KArrowButton,,,
tdeui,KAuthIcon,,,
tdeui,KBugReport,,,
tdeui,KButtonBox,,,
-tdeui,KCModule,,,
+tdeui,TDECModule,,,
tdeui,KCharSelect,,,
tdeui,KCharSelectTable,,,
tdeui,KColor,,,
@@ -206,7 +206,7 @@ tdeui,KComboBox,,,
tdeui,KCommand,,,
tdeui,KCommandHistory,,,
tdeui,KCompletionBox,,,
-tdeui,KConfigDialog,,,
+tdeui,TDEConfigDialog,,,
tdeui,KContextMenuManager,,,
tdeui,KCursor,,,
tdeui,KDCOPActionProxy,,,
diff --git a/examples/pytde-sampler/sampler.py b/examples/pytde-sampler/sampler.py
index 80d1576..183b185 100755
--- a/examples/pytde-sampler/sampler.py
+++ b/examples/pytde-sampler/sampler.py
@@ -43,7 +43,7 @@ blank = KURL('about:blank')
def appConfig(group=None):
- """ appConfig(group=None) -> returns the application KConfig
+ """ appConfig(group=None) -> returns the application TDEConfig
"""
config = TDEGlobal.instance().config()