diff --git a/doc/classref/allclasses.html b/doc/classref/allclasses.html index 11958e8..b2d8d77 100644 --- a/doc/classref/allclasses.html +++ b/doc/classref/allclasses.html @@ -789,7 +789,7 @@ NETStrut NETWinInfo Observer -TQXEmbed +QXEmbed RenameDlgPlugin TerminalInterface ThumbCreator diff --git a/doc/classref/tdeui/QXEmbed.html b/doc/classref/tdeui/QXEmbed.html index f5bcaa3..82e3b85 100644 --- a/doc/classref/tdeui/QXEmbed.html +++ b/doc/classref/tdeui/QXEmbed.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> - class TQXEmbed + class QXEmbed @@ -12,7 +12,7 @@
-

class TQXEmbed


+

class QXEmbed


@@ -28,7 +28,7 @@ - + @@ -38,8 +38,8 @@
  • Protocol = {XEMBED, XPLAIN }

    methods

      -
    • TQXEmbed (parent = 0, name = 0, f = 0) -
  • tdeui
    ClassTQXEmbedQXEmbed
    Inherits TQWidget
    +
  • QXEmbed (parent = 0, name = 0, f = 0) +
  • returns a TQXEmbed instance
    returns a QXEmbed instance
    @@ -133,7 +133,7 @@
    ArgumentTypeDefault
    parentTQWidget0
    namechar0

  • protocol () -
    +
    returns (TQXEmbed.Protocol)
    returns (QXEmbed.Protocol)
    In versions KDE 3.1.1 and above only

  • reparent (parent, f, p, showIt = 0) @@ -166,7 +166,7 @@
    returns nothing
    In versions KDE 3.1.1 and above only
    - +
    ArgumentTypeDefault
    protoTQXEmbed.Protocol
    protoQXEmbed.Protocol

  • showEvent (a0) diff --git a/doc/classref/tdeui/index.html b/doc/classref/tdeui/index.html index d18a869..39fd7ee 100644 --- a/doc/classref/tdeui/index.html +++ b/doc/classref/tdeui/index.html @@ -148,7 +148,7 @@
  • KPasteTextAction
    KPixmapIO
  • - + @@ -207,7 +207,7 @@ - +
    KPixmapRegionSelectorDialog - TQXEmbed
    KPixmapRegionSelectorDialog - QXEmbed
    KPixmapRegionSelectorDialog
    KPixmapRegionSelectorWidget
    KPopupFrame
    KXMLGUIClient.StateChange
    KXMLGUIFactory
    KXYSelector
    TQXEmbed
    QXEmbed
    diff --git a/examples/pykde-sampler/qt_widgets/CONTRIB b/examples/pykde-sampler/qt_widgets/CONTRIB index e9bfd3d..3def876 100644 --- a/examples/pykde-sampler/qt_widgets/CONTRIB +++ b/examples/pykde-sampler/qt_widgets/CONTRIB @@ -340,7 +340,7 @@ tdeui,KXMLGUIBuilder,,, tdeui,KXMLGUIClient,,, tdeui,KXMLGUIFactory,,, tdeui,KXYSelector,,, -tdeui,TQXEmbed,,, +tdeui,QXEmbed,,, tdeui,testKActionList,,, kfile,KApplicationPropsPlugin,,, kfile,KBindingPropsPlugin,,, diff --git a/examples/qxembedexample.py b/examples/qxembedexample.py index ab33196..ca37d08 100644 --- a/examples/qxembedexample.py +++ b/examples/qxembedexample.py @@ -11,15 +11,15 @@ from qt import * -class TQXEmbedExample(TQWidget): +class QXEmbedExample(TQWidget): def __init__(self,parent = None,name = None,fl = 0): TQWidget.__init__(self,parent,name,fl) if not name: - self.setName("TQXEmbedExample") + self.setName("QXEmbedExample") - TQXEmbedExampleLayout = TQVBoxLayout(self,11,6,"TQXEmbedExampleLayout") + QXEmbedExampleLayout = TQVBoxLayout(self,11,6,"QXEmbedExampleLayout") layout2 = TQHBoxLayout(None,0,6,"layout2") @@ -32,13 +32,13 @@ class TQXEmbedExample(TQWidget): layout2.addWidget(self.launchButton) spacer1 = TQSpacerItem(209,31,TQSizePolicy.Expanding,TQSizePolicy.Minimum) layout2.addItem(spacer1) - TQXEmbedExampleLayout.addLayout(layout2) + QXEmbedExampleLayout.addLayout(layout2) self.line1 = TQFrame(self,"line1") self.line1.setFrameShape(TQFrame.HLine) self.line1.setFrameShadow(TQFrame.Sunken) self.line1.setFrameShape(TQFrame.HLine) - TQXEmbedExampleLayout.addWidget(self.line1) + QXEmbedExampleLayout.addWidget(self.line1) self.mainTabs = TQTabWidget(self,"mainTabs") @@ -48,7 +48,7 @@ class TQXEmbedExample(TQWidget): self.textLabel1 = TQLabel(self.tab,"textLabel1") tabLayout.addWidget(self.textLabel1) self.mainTabs.insertTab(self.tab,TQString("")) - TQXEmbedExampleLayout.addWidget(self.mainTabs) + QXEmbedExampleLayout.addWidget(self.mainTabs) self.languageChange() @@ -59,13 +59,13 @@ class TQXEmbedExample(TQWidget): def languageChange(self): - self.setCaption(self.__tr("TQXEmbed Example")) + self.setCaption(self.__tr("QXEmbed Example")) self.appNameCombo.clear() self.appNameCombo.insertItem(self.__tr("kcalc")) self.appNameCombo.insertItem(self.__tr("konqueror")) self.appNameCombo.insertItem(self.__tr("kedit")) self.launchButton.setText(self.__tr("Launch and Embed")) - self.textLabel1.setText(self.__tr("TQXEmbed Example\n" + self.textLabel1.setText(self.__tr("QXEmbed Example\n" "

    \n" "\n" "Select one of the app names from the combo list, then launch it with the button. Two seconds after launch, the window for the new process will get added as a new tab.")) @@ -73,7 +73,7 @@ class TQXEmbedExample(TQWidget): def launchApp(self): - print "TQXEmbedExample.launchApp(): Not implemented yet" + print "QXEmbedExample.launchApp(): Not implemented yet" def __tr(self,s,c = None): - return qApp.translate("TQXEmbedExample",s,c) + return qApp.translate("QXEmbedExample",s,c) diff --git a/examples/qxembedexample.ui b/examples/qxembedexample.ui index 2613c51..e0048db 100644 --- a/examples/qxembedexample.ui +++ b/examples/qxembedexample.ui @@ -1,8 +1,8 @@ -TQXEmbedExample +QXEmbedExample - TQXEmbedExample + QXEmbedExample @@ -13,7 +13,7 @@ - TQXEmbed Example + QXEmbed Example @@ -124,7 +124,7 @@ textLabel1 - <b>TQXEmbed Example</b> + <b>QXEmbed Example</b> <br><br> Select one of the app names from the combo list, then launch it with the button. Two seconds after launch, the window for the new process will get added as a new tab. @@ -139,7 +139,7 @@ Select one of the app names from the combo list, then launch it with the button. launchButton clicked() - TQXEmbedExample + QXEmbedExample launchApp() diff --git a/examples/uimodules/uimisc.py b/examples/uimodules/uimisc.py index f296aac..436768a 100644 --- a/examples/uimodules/uimisc.py +++ b/examples/uimodules/uimisc.py @@ -230,7 +230,7 @@ def miscKSystemTray (parent): def miscKThemeBase (parent): parent.currentPageObj = PageNotImpl (parent) -def miscTQXEmbed (parent): +def miscQXEmbed (parent): parent.currentPageObj = PageNotImpl (parent) if __name__ == "__main__": diff --git a/examples/uiqxembed.py b/examples/uiqxembed.py index 0275e0c..0f5f816 100644 --- a/examples/uiqxembed.py +++ b/examples/uiqxembed.py @@ -8,7 +8,7 @@ from qt import TQIconSet, TQProcess, TQTimer, SIGNAL, SLOT from tdecore import KAboutData, KApplication, KCmdLineArgs, KGlobal, KIcon from tdecore import KWin, KWinModule -from tdeui import KComboBox, KMainWindow, KPushButton, TQXEmbed +from tdeui import KComboBox, KMainWindow, KPushButton, QXEmbed ## add the missing items to the pyuic-generated module @@ -16,7 +16,7 @@ import qxembedexample qxembedexample.KComboBox = KComboBox qxembedexample.KPushButton = KPushButton -from qxembedexample import TQXEmbedExample +from qxembedexample import QXEmbedExample def getIcon(name, group=KIcon.NoGroup, size=KIcon.SizeSmall): @@ -42,12 +42,12 @@ def getWindow(pid): return info -class ExampleForm(TQXEmbedExample): +class ExampleForm(QXEmbedExample): """ wraps the pyuic generated form class with our behavior """ def __init__(self, parent): - TQXEmbedExample.__init__(self, parent) + QXEmbedExample.__init__(self, parent) combo = self.appNameCombo items = [(idx, '%s' % combo.text(idx)) for idx in range(combo.count())] for idx, name in items: @@ -80,7 +80,7 @@ class ExampleForm(TQXEmbedExample): winobj = getWindow(pid) if winobj: tabs = self.mainTabs - embedded = TQXEmbed(self) + embedded = QXEmbed(self) caption = '%s (%s)' % (winobj.name, pid, ) tabs.insertTab(embedded, caption) embedded.embed(winobj.win) @@ -101,8 +101,8 @@ class ExampleMain(KMainWindow): if __name__ == '__main__': - aname = 'PyKDE TQXEmbed Sample' - desc = 'A Simple PyKDE TQXEmbed Sample' + aname = 'PyKDE QXEmbed Sample' + desc = 'A Simple PyKDE QXEmbed Sample' ver = '1.0' lic = KAboutData.License_GPL author = 'Troy Melhase' diff --git a/examples/uisampler.py b/examples/uisampler.py index 211947b..e0912e2 100644 --- a/examples/uisampler.py +++ b/examples/uisampler.py @@ -117,7 +117,7 @@ listItems = {"Dialogs": "KSharedPixmap": [],\ "KSystemTray": [],\ "KThemeBase": ["KThemeCache", "KThemePixmap", "KThemeStyle"],\ - "TQXEmbed": []}} + "QXEmbed": []}} prefix = {"Dialogs": "dlg", "Widgets": "wid", "XML": "xml", "Menus/Toolbars": "menu", "Other": "misc"} diff --git a/sip/tdeui/kaboutapplication.sip b/sip/tdeui/kaboutapplication.sip index e87fd5a..3d7d5ef 100644 --- a/sip/tdeui/kaboutapplication.sip +++ b/sip/tdeui/kaboutapplication.sip @@ -194,7 +194,7 @@ protected: {sipName_KXMLGUIFactory, &sipClass_KXMLGUIFactory}, {sipName_KXYSelector, &sipClass_KXYSelector}, // {sipName_PyKPanelApplet, &sipClass_PyKPanelApplet}, -// {sipName_TQXEmbed, &sipClass_TQXEmbed}, +// {sipName_QXEmbed, &sipClass_QXEmbed}, }; sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0])); diff --git a/sip/tdeui/qxembed.sip b/sip/tdeui/qxembed.sip index 3b198a8..7ea37e0 100644 --- a/sip/tdeui/qxembed.sip +++ b/sip/tdeui/qxembed.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class TQXEmbed : TQWidget +class QXEmbed : TQWidget { %TypeHeaderCode #include @@ -32,7 +32,7 @@ class TQXEmbed : TQWidget public: - TQXEmbed (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); + QXEmbed (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); static void initialize (); %If ( KDE_3_1_1 - ) @@ -43,8 +43,8 @@ public: XPLAIN }; - void setProtocol (TQXEmbed::Protocol); - TQXEmbed::Protocol protocol (); + void setProtocol (QXEmbed::Protocol); + QXEmbed::Protocol protocol (); %End void embed (WId); @@ -69,7 +69,7 @@ public: return NULL; Py_BEGIN_ALLOW_THREADS - sipRes = TQXEmbed::processClientCmdline (a0, n, strings); + sipRes = QXEmbed::processClientCmdline (a0, n, strings); Py_END_ALLOW_THREADS sipFree((ANY *)strings); @@ -109,5 +109,5 @@ protected: virtual void windowChanged (WId); bool focusNextPrevChild (bool); -}; // class TQXEmbed +}; // class QXEmbed