From 432ed6857a0a5904f0a2b96afa94f96a7ccc82d3 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 7 Feb 2013 11:03:01 -0600 Subject: [PATCH] Rename KAbout to avoid conflicts with KDE4 --- doc/classref/allclasses.html | 16 +++--- doc/classref/tdecore/TDEAboutData.html | 6 +-- ...{KAboutPerson.html => TDEAboutPerson.html} | 14 ++--- ...ranslator.html => TDEAboutTranslator.html} | 10 ++-- doc/classref/tdecore/index.html | 4 +- ...lication.html => TDEAboutApplication.html} | 16 +++--- ...tContainer.html => TDEAboutContainer.html} | 10 ++-- ...tributor.html => TDEAboutContributor.html} | 10 ++-- ...{KAboutDialog.html => TDEAboutDialog.html} | 20 +++---- .../{KAboutKDE.html => TDEAboutKDE.html} | 12 ++--- ...{KAboutWidget.html => TDEAboutWidget.html} | 10 ++-- doc/classref/tdeui/index.html | 14 ++--- examples/pytde-sampler/HOWTO.samples | 2 +- .../pytde-sampler/dialogs/about/aboutapp.py | 8 +-- .../pytde-sampler/dialogs/about/aboutkde.py | 6 +-- examples/pytde-sampler/dialogs/bugreport.py | 2 +- examples/pytde-sampler/icon_handling/misc.py | 2 +- examples/pytde-sampler/icon_handling/sizes.py | 2 +- examples/pytde-sampler/qt_widgets/CONTRIB | 16 +++--- examples/uimodules/uidialogs.py | 10 ++-- examples/uisampler.py | 6 +-- sip/tdecore/kaboutdata.sip | 52 +++++++++---------- sip/tdeui/kaboutapplication.sip | 20 +++---- sip/tdeui/kaboutdialog.sip | 32 ++++++------ sip/tdeui/kaboutkde.sip | 6 +-- 25 files changed, 153 insertions(+), 153 deletions(-) rename doc/classref/tdecore/{KAboutPerson.html => TDEAboutPerson.html} (89%) rename doc/classref/tdecore/{KAboutTranslator.html => TDEAboutTranslator.html} (87%) rename doc/classref/tdeui/{KAboutApplication.html => TDEAboutApplication.html} (84%) rename doc/classref/tdeui/{KAboutContainer.html => TDEAboutContainer.html} (94%) rename doc/classref/tdeui/{KAboutContributor.html => TDEAboutContributor.html} (94%) rename doc/classref/tdeui/{KAboutDialog.html => TDEAboutDialog.html} (95%) rename doc/classref/tdeui/{KAboutKDE.html => TDEAboutKDE.html} (85%) rename doc/classref/tdeui/{KAboutWidget.html => TDEAboutWidget.html} (96%) diff --git a/doc/classref/allclasses.html b/doc/classref/allclasses.html index d2455b2..e0d8dcf 100644 --- a/doc/classref/allclasses.html +++ b/doc/classref/allclasses.html @@ -208,15 +208,15 @@ KABC.VCardFormatPlugin KABC KACL -KAboutApplication -KAboutContainer -KAboutContributor +TDEAboutApplication +TDEAboutContainer +TDEAboutContributor TDEAboutData -KAboutDialog -KAboutKDE -KAboutPerson -KAboutTranslator -KAboutWidget +TDEAboutDialog +TDEAboutKDE +TDEAboutPerson +TDEAboutTranslator +TDEAboutWidget TDEAccel TDEAccelAction TDEAccelActions diff --git a/doc/classref/tdecore/TDEAboutData.html b/doc/classref/tdecore/TDEAboutData.html index 55499b7..b4de4f5 100644 --- a/doc/classref/tdecore/TDEAboutData.html +++ b/doc/classref/tdecore/TDEAboutData.html @@ -78,7 +78,7 @@
returns (char)

  • authors () -
    +
    returns (TQValueList)
    returns (TQValueList)

  • bugAddress ()
    @@ -87,7 +87,7 @@
    returns (TQString)
    returns (TQString)

  • credits () -
    +
    returns (TQValueList)
    returns (TQValueList)

  • customAuthorPlainText ()
    @@ -245,7 +245,7 @@
    returns (TQString)
    In versions KDE 3.5.1 and above only

  • translators () -
    +
    returns (TQValueList)
    returns (TQValueList)

  • unsetCustomAuthorText ()
    diff --git a/doc/classref/tdecore/KAboutPerson.html b/doc/classref/tdecore/TDEAboutPerson.html similarity index 89% rename from doc/classref/tdecore/KAboutPerson.html rename to doc/classref/tdecore/TDEAboutPerson.html index 9346c44..5b62b48 100644 --- a/doc/classref/tdecore/KAboutPerson.html +++ b/doc/classref/tdecore/TDEAboutPerson.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class KAboutPerson + class TDEAboutPerson @@ -12,7 +12,7 @@
    returns nothing
    -

    class KAboutPerson


    +

    class TDEAboutPerson


    @@ -28,15 +28,15 @@ - +
    tdecore
    ClassKAboutPersonTDEAboutPerson
    Inherits

    methods

      -
    • KAboutPerson (name, task, emailAddress, webAddress) -
      +
    • TDEAboutPerson (name, task, emailAddress, webAddress) +
    • returns a KAboutPerson instance
      returns a TDEAboutPerson instance
      @@ -44,8 +44,8 @@
      ArgumentTypeDefault
      namechar
      taskchar
      webAddresschar

      -
    • KAboutPerson () -
      +
    • TDEAboutPerson () +
    • returns a KAboutPerson instance
      returns a TDEAboutPerson instance

    • emailAddress ()
      diff --git a/doc/classref/tdecore/KAboutTranslator.html b/doc/classref/tdecore/TDEAboutTranslator.html similarity index 87% rename from doc/classref/tdecore/KAboutTranslator.html rename to doc/classref/tdecore/TDEAboutTranslator.html index 531012d..3e0d961 100644 --- a/doc/classref/tdecore/KAboutTranslator.html +++ b/doc/classref/tdecore/TDEAboutTranslator.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class KAboutTranslator + class TDEAboutTranslator @@ -12,7 +12,7 @@
      returns (TQString)
      -

      class KAboutTranslator


      +

      class TDEAboutTranslator


      @@ -28,15 +28,15 @@ - +
      tdecore
      ClassKAboutTranslatorTDEAboutTranslator
      Inherits

      methods

        -
      • KAboutTranslator (name = TQString .null, emailAddress = TQString .null) -
        +
      • TDEAboutTranslator (name = TQString .null, emailAddress = TQString .null) +
      • returns a KAboutTranslator instance
        returns a TDEAboutTranslator instance
        diff --git a/doc/classref/tdecore/index.html b/doc/classref/tdecore/index.html index ba7951b..21332b4 100644 --- a/doc/classref/tdecore/index.html +++ b/doc/classref/tdecore/index.html @@ -27,8 +27,8 @@
        ArgumentTypeDefault
        nameTQStringTQString .null
        emailAddressTQStringTQString .null
        - - + + diff --git a/doc/classref/tdeui/KAboutApplication.html b/doc/classref/tdeui/TDEAboutApplication.html similarity index 84% rename from doc/classref/tdeui/KAboutApplication.html rename to doc/classref/tdeui/TDEAboutApplication.html index 40a3b4b..ab26a48 100644 --- a/doc/classref/tdeui/KAboutApplication.html +++ b/doc/classref/tdeui/TDEAboutApplication.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class KAboutApplication + class TDEAboutApplication @@ -12,7 +12,7 @@
        TDEAboutData - TDEConfigSkeleton.ItemSize
        TDEAboutData
        KAboutPerson
        KAboutTranslator
        TDEAboutPerson
        TDEAboutTranslator
        TDEAccel
        TDEAccelAction
        TDEAccelActions
        -

        class KAboutApplication


        +

        class TDEAboutApplication


        @@ -28,23 +28,23 @@ - + - +
        tdeui
        ClassKAboutApplicationTDEAboutApplication
        InheritsKAboutDialog TDEAboutDialog

        methods

          -
        • KAboutApplication (parent = 0, name = 0, modal = 1) -
          +
        • TDEAboutApplication (parent = 0, name = 0, modal = 1) +
        • returns a KAboutApplication instance
          returns a TDEAboutApplication instance
          ArgumentTypeDefault
          parentTQWidget0
          namechar0
          modalbool1

          -
        • KAboutApplication (aboutData, parent = 0, name = 0, modal = 1) -
          +
        • TDEAboutApplication (aboutData, parent = 0, name = 0, modal = 1) +
        • returns a KAboutApplication instance
          returns a TDEAboutApplication instance
          diff --git a/doc/classref/tdeui/KAboutContainer.html b/doc/classref/tdeui/TDEAboutContainer.html similarity index 94% rename from doc/classref/tdeui/KAboutContainer.html rename to doc/classref/tdeui/TDEAboutContainer.html index c03d9a1..6622d37 100644 --- a/doc/classref/tdeui/KAboutContainer.html +++ b/doc/classref/tdeui/TDEAboutContainer.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class KAboutContainer + class TDEAboutContainer @@ -12,7 +12,7 @@
          ArgumentTypeDefault
          aboutDataTDEAboutData
          parentTQWidget0
          -

          class KAboutContainer


          +

          class TDEAboutContainer


          @@ -28,15 +28,15 @@ - +
          tdeui
          ClassKAboutContainerTDEAboutContainer
          Inherits TQFrame

          methods

            -
          • KAboutContainer (parent = 0, name = 0, margin = 0, spacing = 0, childAlignment = AlignCenter, innerAlignment = AlignCenter) -
            +
          • TDEAboutContainer (parent = 0, name = 0, margin = 0, spacing = 0, childAlignment = AlignCenter, innerAlignment = AlignCenter) +
          • returns a KAboutContainer instance
            returns a TDEAboutContainer instance
            diff --git a/doc/classref/tdeui/KAboutContributor.html b/doc/classref/tdeui/TDEAboutContributor.html similarity index 94% rename from doc/classref/tdeui/KAboutContributor.html rename to doc/classref/tdeui/TDEAboutContributor.html index 2fd8981..75f8d12 100644 --- a/doc/classref/tdeui/KAboutContributor.html +++ b/doc/classref/tdeui/TDEAboutContributor.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class KAboutContributor + class TDEAboutContributor @@ -12,7 +12,7 @@
            ArgumentTypeDefault
            parentTQWidget0
            namechar0
            -

            class KAboutContributor


            +

            class TDEAboutContributor


            @@ -28,15 +28,15 @@ - +
            tdeui
            ClassKAboutContributorTDEAboutContributor
            Inherits TQFrame

            methods

              -
            • KAboutContributor (parent = 0, name = 0, username = TQString .null, email = TQString .null, url = TQString .null, work = TQString .null, showHeader = 0, showFrame = 1, showBold = 0) -
              +
            • TDEAboutContributor (parent = 0, name = 0, username = TQString .null, email = TQString .null, url = TQString .null, work = TQString .null, showHeader = 0, showFrame = 1, showBold = 0) +
            • returns a KAboutContributor instance
              returns a TDEAboutContributor instance
              diff --git a/doc/classref/tdeui/KAboutDialog.html b/doc/classref/tdeui/TDEAboutDialog.html similarity index 95% rename from doc/classref/tdeui/KAboutDialog.html rename to doc/classref/tdeui/TDEAboutDialog.html index 4b2f4a0..43a55d5 100644 --- a/doc/classref/tdeui/KAboutDialog.html +++ b/doc/classref/tdeui/TDEAboutDialog.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class KAboutDialog + class TDEAboutDialog @@ -12,7 +12,7 @@
              ArgumentTypeDefault
              parentTQWidget0
              namechar0
              -

              class KAboutDialog


              +

              class TDEAboutDialog


              @@ -28,7 +28,7 @@ - + @@ -38,16 +38,16 @@
            • LayoutType = {AbtPlain, AbtTabbed, AbtTitle, AbtImageLeft, AbtImageRight, AbtImageOnly, AbtProduct, AbtKDEStandard, AbtAppStandard, AbtImageAndTitle }

              methods

                -
              • KAboutDialog (parent = 0, name = 0, modal = 1) -
            • tdeui
              ClassKAboutDialogTDEAboutDialog
              Inherits KDialogBase
              +
            • TDEAboutDialog (parent = 0, name = 0, modal = 1) +
            • returns a KAboutDialog instance
              returns a TDEAboutDialog instance
              ArgumentTypeDefault
              parentTQWidget0
              namechar0
              modalbool1

              -
            • KAboutDialog (dialogLayout, caption, buttonMask, defaultButton, parent = 0, name = 0, modal = 0, separator = 0, user1 = TQString .null, user2 = TQString .null, user3 = TQString .null) -
              +
            • TDEAboutDialog (dialogLayout, caption, buttonMask, defaultButton, parent = 0, name = 0, modal = 0, separator = 0, user1 = TQString .null, user2 = TQString .null, user3 = TQString .null) +
            • returns a KAboutDialog instance
              returns a TDEAboutDialog instance
              @@ -63,14 +63,14 @@
              ArgumentTypeDefault
              dialogLayoutint
              captionTQString

            • addContainer (childAlignment, innerAlignment) -
              +
              returns (KAboutContainer)
              returns (TDEAboutContainer)
              ArgumentTypeDefault
              childAlignmentint
              innerAlignmentint

            • addContainerPage (title, childAlignment = AlignCenter, innerAlignment = AlignCenter) -
              +
              returns (KAboutContainer)
              returns (TDEAboutContainer)
              @@ -101,7 +101,7 @@
              ArgumentTypeDefault
              titleTQString
              childAlignmentintAlignCenter

            • addScrolledContainerPage (title, childAlignment = AlignCenter, innerAlignment = AlignCenter) -
              +
              returns (KAboutContainer)
              returns (TDEAboutContainer)
              diff --git a/doc/classref/tdeui/KAboutKDE.html b/doc/classref/tdeui/TDEAboutKDE.html similarity index 85% rename from doc/classref/tdeui/KAboutKDE.html rename to doc/classref/tdeui/TDEAboutKDE.html index 062a468..fc5b2ab 100644 --- a/doc/classref/tdeui/KAboutKDE.html +++ b/doc/classref/tdeui/TDEAboutKDE.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class KAboutKDE + class TDEAboutKDE @@ -12,7 +12,7 @@
              ArgumentTypeDefault
              titleTQString
              childAlignmentintAlignCenter
              -

              class KAboutKDE


              +

              class TDEAboutKDE


              @@ -28,15 +28,15 @@ - + - +
              tdeui
              ClassKAboutKDETDEAboutKDE
              InheritsKAboutDialog TDEAboutDialog

              methods

                -
              • KAboutKDE (parent = 0, name = 0, modal = 1) -
                +
              • TDEAboutKDE (parent = 0, name = 0, modal = 1) +
              • returns a KAboutKDE instance
                returns a TDEAboutKDE instance
                diff --git a/doc/classref/tdeui/KAboutWidget.html b/doc/classref/tdeui/TDEAboutWidget.html similarity index 96% rename from doc/classref/tdeui/KAboutWidget.html rename to doc/classref/tdeui/TDEAboutWidget.html index d508567..411cecc 100644 --- a/doc/classref/tdeui/KAboutWidget.html +++ b/doc/classref/tdeui/TDEAboutWidget.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class KAboutWidget + class TDEAboutWidget @@ -12,7 +12,7 @@
                ArgumentTypeDefault
                parentTQWidget0
                namechar0
                -

                class KAboutWidget


                +

                class TDEAboutWidget


                @@ -28,15 +28,15 @@ - +
                tdeui
                ClassKAboutWidgetTDEAboutWidget
                Inherits TQWidget

                methods

                  -
                • KAboutWidget (parent = 0, name = 0) -
                  +
                • TDEAboutWidget (parent = 0, name = 0) +
                • returns a KAboutWidget instance
                  returns a TDEAboutWidget instance
                  diff --git a/doc/classref/tdeui/index.html b/doc/classref/tdeui/index.html index 37dcbc1..6566457 100644 --- a/doc/classref/tdeui/index.html +++ b/doc/classref/tdeui/index.html @@ -25,13 +25,13 @@ tdeui Global and Namespace members

                  ArgumentTypeDefault
                  parentTQWidget0
                  namechar0
                  - - - - - - - + + + + + + + diff --git a/examples/pytde-sampler/HOWTO.samples b/examples/pytde-sampler/HOWTO.samples index 3c13704..8006eb4 100644 --- a/examples/pytde-sampler/HOWTO.samples +++ b/examples/pytde-sampler/HOWTO.samples @@ -30,7 +30,7 @@ In side the module, add the following: - docParts - two-tuple (optional) default: None - example: ('tdeui', 'KAboutDialog') + example: ('tdeui', 'TDEAboutDialog') If specified, this sequence should contain two items, first item name of pytde module, second item name of class within the module. diff --git a/examples/pytde-sampler/dialogs/about/aboutapp.py b/examples/pytde-sampler/dialogs/about/aboutapp.py index 820d50f..7fe2b75 100644 --- a/examples/pytde-sampler/dialogs/about/aboutapp.py +++ b/examples/pytde-sampler/dialogs/about/aboutapp.py @@ -1,15 +1,15 @@ iconName = 'about_kde' -labelText = 'KAboutApplication' +labelText = 'TDEAboutApplication' from qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from tdecore import i18n -from tdeui import KAboutApplication, KPushButton, KTextEdit +from tdeui import TDEAboutApplication, KPushButton, KTextEdit helpText = ("Typically available via the applications 'Help' menu, this " "dialog presents the user with the applications About widget.") -docParts = ('tdeui', 'KAboutDialog') +docParts = ('tdeui', 'TDEAboutDialog') class MainFrame(TQFrame): def __init__(self, parent=None): @@ -25,5 +25,5 @@ class MainFrame(TQFrame): self.connect(self.button, SIGNAL('clicked()'), self.showAboutDialog) def showAboutDialog(self): - dlg = KAboutApplication(self) + dlg = TDEAboutApplication(self) dlg.show() diff --git a/examples/pytde-sampler/dialogs/about/aboutkde.py b/examples/pytde-sampler/dialogs/about/aboutkde.py index dc7390c..183c6fb 100644 --- a/examples/pytde-sampler/dialogs/about/aboutkde.py +++ b/examples/pytde-sampler/dialogs/about/aboutkde.py @@ -1,9 +1,9 @@ iconName = 'about_kde' -labelText = 'KAboutKDE' +labelText = 'TDEAboutKDE' from qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from tdecore import i18n -from tdeui import KAboutKDE, KPushButton, KTextEdit +from tdeui import TDEAboutKDE, KPushButton, KTextEdit helpText = ("Typically available via the applications 'Help' menu, this " @@ -24,5 +24,5 @@ class MainFrame(TQFrame): self.connect(self.button, SIGNAL('clicked()'), self.showAboutDialog) def showAboutDialog(self): - dlg = KAboutKDE(self) + dlg = TDEAboutKDE(self) dlg.show() diff --git a/examples/pytde-sampler/dialogs/bugreport.py b/examples/pytde-sampler/dialogs/bugreport.py index 76fe0ae..caf72f7 100644 --- a/examples/pytde-sampler/dialogs/bugreport.py +++ b/examples/pytde-sampler/dialogs/bugreport.py @@ -8,7 +8,7 @@ labelText = 'KBugReport' from qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from tdecore import i18n -from tdeui import KAboutDialog, KPushButton, KBugReport, KTextEdit +from tdeui import TDEAboutDialog, KPushButton, KBugReport, KTextEdit helpText = ("KDE provides a way to report bugs from applications. This dialog" diff --git a/examples/pytde-sampler/icon_handling/misc.py b/examples/pytde-sampler/icon_handling/misc.py index cab3571..748dd64 100644 --- a/examples/pytde-sampler/icon_handling/misc.py +++ b/examples/pytde-sampler/icon_handling/misc.py @@ -5,7 +5,7 @@ labelText = 'Misc.' from qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL, TQPoint from tdecore import i18n -from tdeui import KAboutDialog, KPushButton, KBugReport, KTextEdit +from tdeui import TDEAboutDialog, KPushButton, KBugReport, KTextEdit from tdeui import KRootPermsIcon, KWritePermsIcon diff --git a/examples/pytde-sampler/icon_handling/sizes.py b/examples/pytde-sampler/icon_handling/sizes.py index af7226d..a76671a 100644 --- a/examples/pytde-sampler/icon_handling/sizes.py +++ b/examples/pytde-sampler/icon_handling/sizes.py @@ -5,7 +5,7 @@ labelText = 'Icon Sizing' from qt import TQFrame, TQHBoxLayout, TQVBoxLayout, SIGNAL from tdecore import i18n -from tdeui import KAboutDialog, KPushButton, KBugReport, KTextEdit +from tdeui import TDEAboutDialog, KPushButton, KBugReport, KTextEdit helpText = ("") diff --git a/examples/pytde-sampler/qt_widgets/CONTRIB b/examples/pytde-sampler/qt_widgets/CONTRIB index 8f12647..da5a068 100644 --- a/examples/pytde-sampler/qt_widgets/CONTRIB +++ b/examples/pytde-sampler/qt_widgets/CONTRIB @@ -12,8 +12,8 @@ tdecore,DesktopIcon,,, tdecore,DesktopIconSet,,, tdecore,IconSize,,, tdecore,TDEAboutData,,, -tdecore,KAboutPerson,,, -tdecore,KAboutTranslator,,, +tdecore,TDEAboutPerson,,, +tdecore,TDEAboutTranslator,,, tdecore,TDEAccel,,, tdecore,TDEAccelAction,,, tdecore,TDEAccelActions,,, @@ -174,12 +174,12 @@ tdesu,PtyProcess,,, tdesu,SshProcess,,, tdesu,StubProcess,,, tdesu,SuProcess,,, -tdeui,KAboutApplication,,, -tdeui,KAboutContainer,,, -tdeui,KAboutContributor,,, -tdeui,KAboutDialog,,, -tdeui,KAboutKDE,,, -tdeui,KAboutWidget,,, +tdeui,TDEAboutApplication,,, +tdeui,TDEAboutContainer,,, +tdeui,TDEAboutContributor,,, +tdeui,TDEAboutDialog,,, +tdeui,TDEAboutKDE,,, +tdeui,TDEAboutWidget,,, tdeui,TDEAction,,, tdeui,TDEActionCollection,,, tdeui,TDEActionMenu,,, diff --git a/examples/uimodules/uidialogs.py b/examples/uimodules/uidialogs.py index 8b102b4..82e6260 100644 --- a/examples/uimodules/uidialogs.py +++ b/examples/uimodules/uidialogs.py @@ -3,7 +3,7 @@ from qt import TQVBox, TQLabel, TQLineEdit, TQString, TQPixmap, TQPushButton, TQ from tdecore import TDEAccel, i18n -from tdeui import KAboutDialog, KAboutKDE, KBugReport, KColorDialog, KDialog, KDialogBase, TDEFontDialog,\ +from tdeui import TDEAboutDialog, TDEAboutKDE, KBugReport, KColorDialog, KDialog, KDialogBase, TDEFontDialog,\ KPasswordDialog, KMessageBox, KLineEditDlg, KKeyDialog, KWizard # despite what the docs say, there is no enum (in 2.1.1 anyway) @@ -124,8 +124,8 @@ class MessageDlg (KDialog): KMessageBox.error (self, "No - this isn't really an error\nIt's an error message box\n", "Error") -def dlgKAboutDialog (parent): - dlg = KAboutDialog (parent, 'about dialog', False) +def dlgTDEAboutDialog (parent): + dlg = TDEAboutDialog (parent, 'about dialog', False) dlg.setLogo (TQPixmap ("pytestimage.png")) dlg.setTitle ("UISampler for PyKDE") dlg.setAuthor ("Jim Bublitz", "jbublitz@nwinternet.com", "http://www.riverbankcomputing.co.uk",\ @@ -139,8 +139,8 @@ def dlgKBugReport (parent): dlg = KBugReport (parent) dlg.exec_loop () -def dlgKAboutKDE (parent): - dlg = KAboutKDE (parent, "about kde", False) +def dlgTDEAboutKDE (parent): + dlg = TDEAboutKDE (parent, "about kde", False) dlg.show () def dlgKColorDialog (parent): diff --git a/examples/uisampler.py b/examples/uisampler.py index 98437ee..a746854 100644 --- a/examples/uisampler.py +++ b/examples/uisampler.py @@ -16,9 +16,9 @@ False = 0 True = not False listItems = {"Dialogs": - {"KAboutDialog": ["KAboutApplication", "KAboutContainer", "KImageTrackLabel",\ - "KAboutContainerBase", "KAboutContributor", "KAboutWidget"],\ - "KAboutKDE": [],\ + {"TDEAboutDialog": ["TDEAboutApplication", "TDEAboutContainer", "KImageTrackLabel",\ + "TDEAboutContainerBase", "TDEAboutContributor", "TDEAboutWidget"],\ + "TDEAboutKDE": [],\ "KBugReport": [],\ "KColorDialog": [],\ "KDialog": [],\ diff --git a/sip/tdecore/kaboutdata.sip b/sip/tdecore/kaboutdata.sip index eb75fed..ef46ee9 100644 --- a/sip/tdecore/kaboutdata.sip +++ b/sip/tdecore/kaboutdata.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KAboutPerson +class TDEAboutPerson { %TypeHeaderCode #include @@ -32,17 +32,17 @@ class KAboutPerson public: - KAboutPerson (const char*, const char*, const char*, const char*); - KAboutPerson (); + TDEAboutPerson (const char*, const char*, const char*, const char*); + TDEAboutPerson (); TQString name () const; TQString task () const; TQString emailAddress () const; TQString webAddress () const; -}; // class KAboutPerson +}; // class TDEAboutPerson -class KAboutTranslator +class TDEAboutTranslator { %TypeHeaderCode #include @@ -50,11 +50,11 @@ class KAboutTranslator public: - KAboutTranslator (const TQString& = TQString ::null , const TQString& = TQString ::null ); + TDEAboutTranslator (const TQString& = TQString ::null , const TQString& = TQString ::null ); TQString name () const; TQString emailAddress () const; -}; // class KAboutTranslator +}; // class TDEAboutTranslator class TDEAboutData @@ -144,9 +144,9 @@ public: const char* internalBugAddress () const; %End - const TQValueList authors () const; - const TQValueList credits () const; - const TQValueList translators () const; + const TQValueList authors () const; + const TQValueList credits () const; + const TQValueList translators () const; static TQString aboutTranslationTeam (); TQString otherText () const; TQString license () const; @@ -165,8 +165,8 @@ public: -%MappedType TQValueList -//converts a Python list of KAboutPerson +%MappedType TQValueList +//converts a Python list of TDEAboutPerson { %TypeHeaderCode #include @@ -181,14 +181,14 @@ public: if ((pylist = PyList_New(0)) == NULL) return NULL; - TQValueList *cpplist = (TQValueList *)sipCpp; + TQValueList *cpplist = (TQValueList *)sipCpp; PyObject *inst; // Get it. - TQValueList::Iterator it; + TQValueList::Iterator it; for( it = cpplist->begin(); it != cpplist->end(); ++it ) { - if (((inst = sipConvertFromNewType(new KAboutPerson(*it), sipType_KAboutPerson, NULL)) == NULL) + if (((inst = sipConvertFromNewType(new TDEAboutPerson(*it), sipType_TDEAboutPerson, NULL)) == NULL) || PyList_Append (pylist, inst) < 0) { Py_DECREF (pylist); @@ -204,16 +204,16 @@ public: if (sipIsErr == NULL) return PyList_Check(sipPy); - TQValueList *cpplist = new TQValueList; + TQValueList *cpplist = new TQValueList; PyObject *elem; - KAboutPerson *cpp; + TDEAboutPerson *cpp; int iserr = 0; for (int i = 0; i < PyList_Size (sipPy); i++) { elem = PyList_GET_ITEM (sipPy, i); - cpp = (KAboutPerson *)sipForceConvertToType(elem, sipType_KAboutPerson, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr); + cpp = (TDEAboutPerson *)sipForceConvertToType(elem, sipType_TDEAboutPerson, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr); if (iserr) { @@ -232,8 +232,8 @@ public: }; -%MappedType TQValueList -//converts a Python list of KAboutTranslator +%MappedType TQValueList +//converts a Python list of TDEAboutTranslator { %TypeHeaderCode #include @@ -248,14 +248,14 @@ public: if ((pylist = PyList_New(0)) == NULL) return NULL; - TQValueList *cpplist = (TQValueList *)sipCpp; + TQValueList *cpplist = (TQValueList *)sipCpp; PyObject *inst; // Get it. - TQValueList::Iterator it; + TQValueList::Iterator it; for( it = cpplist->begin(); it != cpplist->end(); ++it ) { - if (((inst = sipConvertFromNewType(new KAboutTranslator(*it), sipType_KAboutTranslator, NULL)) == NULL) + if (((inst = sipConvertFromNewType(new TDEAboutTranslator(*it), sipType_TDEAboutTranslator, NULL)) == NULL) || PyList_Append (pylist, inst) < 0) { Py_DECREF (pylist); @@ -271,16 +271,16 @@ public: if (sipIsErr == NULL) return PyList_Check(sipPy); - TQValueList *cpplist = new TQValueList; + TQValueList *cpplist = new TQValueList; PyObject *elem; - KAboutTranslator *cpp; + TDEAboutTranslator *cpp; int iserr = 0; for (int i = 0; i < PyList_Size (sipPy); i++) { elem = PyList_GET_ITEM (sipPy, i); - cpp = (KAboutTranslator *)sipForceConvertToType(elem, sipType_KAboutTranslator, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr); + cpp = (TDEAboutTranslator *)sipForceConvertToType(elem, sipType_TDEAboutTranslator, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr); if (iserr) { diff --git a/sip/tdeui/kaboutapplication.sip b/sip/tdeui/kaboutapplication.sip index 51eaf8b..23746cf 100644 --- a/sip/tdeui/kaboutapplication.sip +++ b/sip/tdeui/kaboutapplication.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KAboutApplication : KAboutDialog +class TDEAboutApplication : TDEAboutDialog { %TypeHeaderCode #include @@ -32,8 +32,8 @@ class KAboutApplication : KAboutDialog public: - KAboutApplication (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1); - KAboutApplication (const TDEAboutData*, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1); + TDEAboutApplication (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1); + TDEAboutApplication (const TDEAboutData*, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1); protected: void buildDialog (const TDEAboutData*); @@ -44,12 +44,12 @@ protected: // must be sorted by name. static sipStringTypeClassMap map[] = { - {sipName_KAboutApplication, &sipClass_KAboutApplication}, - {sipName_KAboutContainer, &sipClass_KAboutContainer}, - {sipName_KAboutContributor, &sipClass_KAboutContributor}, - {sipName_KAboutDialog, &sipClass_KAboutDialog}, - {sipName_KAboutKDE, &sipClass_KAboutKDE}, - {sipName_KAboutWidget, &sipClass_KAboutWidget}, + {sipName_TDEAboutApplication, &sipClass_TDEAboutApplication}, + {sipName_TDEAboutContainer, &sipClass_TDEAboutContainer}, + {sipName_TDEAboutContributor, &sipClass_TDEAboutContributor}, + {sipName_TDEAboutDialog, &sipClass_TDEAboutDialog}, + {sipName_TDEAboutKDE, &sipClass_TDEAboutKDE}, + {sipName_TDEAboutWidget, &sipClass_TDEAboutWidget}, {sipName_TDEAction, &sipClass_TDEAction}, {sipName_TDEActionCollection, &sipClass_TDEActionCollection}, {sipName_TDEActionMenu, &sipClass_TDEActionMenu}, @@ -201,5 +201,5 @@ protected: %End //end -}; // class KAboutApplication +}; // class TDEAboutApplication diff --git a/sip/tdeui/kaboutdialog.sip b/sip/tdeui/kaboutdialog.sip index cc07e28..ad36cf9 100644 --- a/sip/tdeui/kaboutdialog.sip +++ b/sip/tdeui/kaboutdialog.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KAboutContainer : TQFrame +class TDEAboutContainer : TQFrame { %TypeHeaderCode #include @@ -32,7 +32,7 @@ class KAboutContainer : TQFrame public: - KAboutContainer (TQWidget* /TransferThis/ = 0, const char* = 0, int = 0, int = 0, int = AlignCenter , int = AlignCenter ); + TDEAboutContainer (TQWidget* /TransferThis/ = 0, const char* = 0, int = 0, int = 0, int = AlignCenter , int = AlignCenter ); void addWidget (TQWidget*); void addPerson (const TQString&, const TQString&, const TQString&, const TQString&, bool = 0, bool = 0, bool = 0); void addTitle (const TQString&, int = AlignLeft , bool = 0, bool = 0); @@ -47,10 +47,10 @@ signals: void urlClick (const TQString&); void mailClick (const TQString&, const TQString&); -}; // class KAboutContainer +}; // class TDEAboutContainer -class KAboutContributor : TQFrame +class TDEAboutContributor : TQFrame { %TypeHeaderCode #include @@ -58,7 +58,7 @@ class KAboutContributor : TQFrame public: - KAboutContributor (TQWidget* /TransferThis/ = 0, const char* = 0, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , bool = 0, bool = 1, bool = 0); + TDEAboutContributor (TQWidget* /TransferThis/ = 0, const char* = 0, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null , bool = 0, bool = 1, bool = 0); void setName (const TQString&, const TQString& = TQString ::null , bool = 1); void setEmail (const TQString&, const TQString& = TQString ::null , bool = 1); void setURL (const TQString&, const TQString& = TQString ::null , bool = 1); @@ -80,10 +80,10 @@ signals: void sendEmail (const TQString&, const TQString&); void openURL (const TQString&); -}; // class KAboutContributor +}; // class TDEAboutContributor -class KAboutWidget : TQWidget +class TDEAboutWidget : TQWidget { %TypeHeaderCode #include @@ -91,7 +91,7 @@ class KAboutWidget : TQWidget public: - KAboutWidget (TQWidget* /TransferThis/ = 0, const char* = 0); + TDEAboutWidget (TQWidget* /TransferThis/ = 0, const char* = 0); void adjust (); void setLogo (const TQPixmap&); void setAuthor (const TQString&, const TQString&, const TQString&, const TQString&); @@ -110,10 +110,10 @@ signals: protected: void resizeEvent (TQResizeEvent*); -}; // class KAboutWidget +}; // class TDEAboutWidget -class KAboutDialog : KDialogBase +class TDEAboutDialog : KDialogBase { %TypeHeaderCode #include @@ -138,8 +138,8 @@ public: public: - KAboutDialog (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1); - KAboutDialog (int, const TQString&, int, ButtonCode, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 0, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null ); + TDEAboutDialog (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1); + TDEAboutDialog (int, const TQString&, int, ButtonCode, TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 0, const TQString& = TQString ::null , const TQString& = TQString ::null , const TQString& = TQString ::null ); void adjust (); virtual void show (); virtual void show (TQWidget*); @@ -161,9 +161,9 @@ public: void setProduct (const TQString&, const TQString&, const TQString&, const TQString&); TQFrame* addTextPage (const TQString&, const TQString&, bool = 0, int = 10); TQFrame* addLicensePage (const TQString&, const TQString&, int = 10); - KAboutContainer* addContainerPage (const TQString&, int = AlignCenter , int = AlignCenter ); - KAboutContainer* addScrolledContainerPage (const TQString&, int = AlignCenter , int = AlignCenter ); - KAboutContainer* addContainer (int, int); + TDEAboutContainer* addContainerPage (const TQString&, int = AlignCenter , int = AlignCenter ); + TDEAboutContainer* addScrolledContainerPage (const TQString&, int = AlignCenter , int = AlignCenter ); + TDEAboutContainer* addContainer (int, int); TQFrame* addPage (const TQString&); void setLogo (const TQPixmap&); void setAuthor (const TQString&, const TQString&, const TQString&, const TQString&); @@ -186,5 +186,5 @@ protected slots: protected: //igx virtual void virtual_hook (int, void*); -}; // class KAboutDialog +}; // class TDEAboutDialog diff --git a/sip/tdeui/kaboutkde.sip b/sip/tdeui/kaboutkde.sip index 10f615f..b9cd58b 100644 --- a/sip/tdeui/kaboutkde.sip +++ b/sip/tdeui/kaboutkde.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KAboutKDE : KAboutDialog +class TDEAboutKDE : TDEAboutDialog { %TypeHeaderCode #include @@ -32,7 +32,7 @@ class KAboutKDE : KAboutDialog public: - KAboutKDE (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1); + TDEAboutKDE (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 1); -}; // class KAboutKDE +}; // class TDEAboutKDE
                  KAboutApplication - KDualColorButton
                  KAboutApplication
                  KAboutContainer
                  KAboutContributor
                  KAboutDialog
                  KAboutKDE
                  KAboutWidget
                  TDEAboutApplication - KDualColorButton
                  TDEAboutApplication
                  TDEAboutContainer
                  TDEAboutContributor
                  TDEAboutDialog
                  TDEAboutKDE
                  TDEAboutWidget
                  TDEAction
                  TDEActionCollection
                  TDEActionMenu