summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-04 01:54:26 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-04 01:54:26 -0600
commit8fa6239b59e0627e8bc840342fe50d026f532dcd (patch)
treeccb8dac7f416fd0749132a5adca2b340ac6accbd
parent2627136bb0f3c43fb2d0cb48838ea70425d17241 (diff)
downloadpytde-8fa6239b59e0627e8bc840342fe50d026f532dcd.tar.gz
pytde-8fa6239b59e0627e8bc840342fe50d026f532dcd.zip
Rename TQXEmbed to correct QXEmbed
-rw-r--r--doc/classref/allclasses.html2
-rw-r--r--doc/classref/tdeui/QXEmbed.html14
-rw-r--r--doc/classref/tdeui/index.html4
-rw-r--r--examples/pykde-sampler/qt_widgets/CONTRIB2
-rw-r--r--examples/qxembedexample.py20
-rw-r--r--examples/qxembedexample.ui10
-rw-r--r--examples/uimodules/uimisc.py2
-rw-r--r--examples/uiqxembed.py14
-rw-r--r--examples/uisampler.py2
-rw-r--r--sip/tdeui/kaboutapplication.sip2
-rw-r--r--sip/tdeui/qxembed.sip12
11 files changed, 42 insertions, 42 deletions
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 @@
<tr ><td><a href="tdecore/NETStrut.html">NETStrut</A></td></tr>
<tr ><td><a href="tdecore/NETWinInfo.html">NETWinInfo</A></td></tr>
<tr ><td><a href="kio/Observer.html">Observer</A></td></tr>
-<tr ><td><a href="tdeui/TQXEmbed.html">TQXEmbed</A></td></tr>
+<tr ><td><a href="tdeui/QXEmbed.html">QXEmbed</A></td></tr>
<tr ><td><a href="kio/RenameDlgPlugin.html">RenameDlgPlugin</A></td></tr>
<tr ><td><a href="kparts/TerminalInterface.html"><i>TerminalInterface</i></A></td></tr>
<tr ><td><a href="kio/ThumbCreator.html"><i>ThumbCreator</i></A></td></tr>
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"">
<html>
<head>
- <title>class TQXEmbed</title>
+ <title>class QXEmbed</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="GENERATOR" content="wabbit dumphtml">
</head>
@@ -12,7 +12,7 @@
<hr>
<table width="100%"><tr>
<td width ="70%">
- <h1>class TQXEmbed</h1><hr>
+ <h1>class QXEmbed</h1><hr>
</td>
<td width="30%" valign="top" align="right">
<table>
@@ -28,7 +28,7 @@
<td width="30%" align=left>tdeui</td>
</tr>
<tr><td>Class</td>
- <td>TQXEmbed</td>
+ <td>QXEmbed</td>
</tr>
<tr><td>Inherits</td>
<td>TQWidget </td>
@@ -38,8 +38,8 @@
<li><b>Protocol</b> = {XEMBED, XPLAIN
}</ul>
<h3>methods</h3><ul>
-<li><b>TQXEmbed</b> (parent = 0, name = 0, f = 0)
-<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TQXEmbed instance</i></td></tr>
+<li><b>QXEmbed</b> (parent = 0, name = 0, f = 0)
+<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a QXEmbed instance</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>parent</td><td>TQWidget</td><td>0</td></tr>
<tr><td>name</td><td>char</td><td>0</td></tr>
@@ -133,7 +133,7 @@
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>protocol</b> ()
-<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQXEmbed.Protocol)</i></td></tr>
+<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(QXEmbed.Protocol)</i></td></tr>
<tr><td>In versions KDE 3.1.1 and above only</td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>reparent</b> (parent, f, p, showIt = 0)
@@ -166,7 +166,7 @@
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
<tr><td>In versions KDE 3.1.1 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
-<tr><td>proto</td><td>TQXEmbed.Protocol</td><td></td></tr>
+<tr><td>proto</td><td>QXEmbed.Protocol</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>showEvent</b> (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 @@
<tr ><td><a href="KPasteTextAction.html">KPasteTextAction</a></td></tr>
<tr ><td><a href="KPixmapIO.html">KPixmapIO</a></td></tr>
</table></td><td valign="top"><table border="0">
-<tr bgcolor="#fff0ff"><th>KPixmapRegionSelectorDialog - TQXEmbed</th></tr>
+<tr bgcolor="#fff0ff"><th>KPixmapRegionSelectorDialog - QXEmbed</th></tr>
<tr ><td><a href="KPixmapRegionSelectorDialog.html">KPixmapRegionSelectorDialog</a></td></tr>
<tr ><td><a href="KPixmapRegionSelectorWidget.html">KPixmapRegionSelectorWidget</a></td></tr>
<tr ><td><a href="KPopupFrame.html">KPopupFrame</a></td></tr>
@@ -207,7 +207,7 @@
<tr ><td><a href="KXMLGUIClient.StateChange.html">KXMLGUIClient.StateChange</a></td></tr>
<tr ><td><a href="KXMLGUIFactory.html">KXMLGUIFactory</a></td></tr>
<tr ><td><a href="KXYSelector.html">KXYSelector</a></td></tr>
-<tr ><td><a href="TQXEmbed.html">TQXEmbed</a></td></tr>
+<tr ><td><a href="QXEmbed.html">QXEmbed</a></td></tr>
</table></td></tr></table>
</body>
</html>
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("<b>TQXEmbed Example</b>\n"
+ self.textLabel1.setText(self.__tr("<b>QXEmbed Example</b>\n"
"<br><br>\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 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>TQXEmbedExample</class>
+<class>QXEmbedExample</class>
<widget class="TQWidget">
<property name="name">
- <cstring>TQXEmbedExample</cstring>
+ <cstring>QXEmbedExample</cstring>
</property>
<property name="geometry">
<rect>
@@ -13,7 +13,7 @@
</rect>
</property>
<property name="caption">
- <string>TQXEmbed Example</string>
+ <string>QXEmbed Example</string>
</property>
<vbox>
<property name="name">
@@ -124,7 +124,7 @@
<cstring>textLabel1</cstring>
</property>
<property name="text">
- <string>&lt;b&gt;TQXEmbed Example&lt;/b&gt;
+ <string>&lt;b&gt;QXEmbed Example&lt;/b&gt;
&lt;br&gt;&lt;br&gt;
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.</string>
@@ -139,7 +139,7 @@ Select one of the app names from the combo list, then launch it with the button.
<connection>
<sender>launchButton</sender>
<signal>clicked()</signal>
- <receiver>TQXEmbedExample</receiver>
+ <receiver>QXEmbedExample</receiver>
<slot>launchApp()</slot>
</connection>
</connections>
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 <qxembed.h>
@@ -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