Rename KComp to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent 432ed6857a
commit 55b92f10fd

@ -275,9 +275,9 @@
<tr ><td><a href="tdeui/KComboBox.html">KComboBox</A></td></tr>
<tr ><td><a href="tdeui/KCommand.html"><i>KCommand</i></A></td></tr>
<tr ><td><a href="tdeui/KCommandHistory.html">KCommandHistory</A></td></tr>
<tr ><td><a href="tdecore/KCompletion.html">KCompletion</A></td></tr>
<tr ><td><a href="tdecore/KCompletionBase.html"><i>KCompletionBase</i></A></td></tr>
<tr ><td><a href="tdeui/KCompletionBox.html">KCompletionBox</A></td></tr>
<tr ><td><a href="tdecore/TDECompletion.html">TDECompletion</A></td></tr>
<tr ><td><a href="tdecore/TDECompletionBase.html"><i>TDECompletionBase</i></A></td></tr>
<tr ><td><a href="tdeui/TDECompletionBox.html">TDECompletionBox</A></td></tr>
<tr ><td><a href="tdecore/TDEConfig.html">TDEConfig</A></td></tr>
<tr ><td><a href="tdecore/TDEConfigBackEnd.html"><i>TDEConfigBackEnd</i></A></td></tr>
<tr ><td><a href="tdecore/TDEConfigBase.html"><i>TDEConfigBase</i></A></td></tr>

@ -31,7 +31,7 @@
<td>KURLCompletion</td>
</tr>
<tr><td>Inherits</td>
<td>KCompletion </td>
<td>TDECompletion </td>
</tr>
</table>
<h3>enums</h3><ul>

@ -3,7 +3,7 @@
"http://www.w3.org/TR/html4/loose.dtd"">
<html>
<head>
<title>class KCompletion</title>
<title>class TDECompletion</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 KCompletion</h1><hr>
<h1>class TDECompletion</h1><hr>
</td>
<td width="30%" valign="top" align="right">
<table>
@ -28,7 +28,7 @@
<td width="30%" align=left>tdecore</td>
</tr>
<tr><td>Class</td>
<td>KCompletion</td>
<td>TDECompletion</td>
</tr>
<tr><td>Inherits</td>
<td>TQObject </td>
@ -38,8 +38,8 @@
<li><b>CompOrder</b> = {Sorted, Insertion, Weighted
}</ul>
<h3>methods</h3><ul>
<li><b>KCompletion</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KCompletion instance</i></td></tr>
<li><b>TDECompletion</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDECompletion instance</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>addItem</b> (item)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
@ -184,7 +184,7 @@
<li><b>setOrder</b> (order)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>order</td><td>KCompletion.CompOrder</td><td></td></tr>
<tr><td>order</td><td>TDECompletion.CompOrder</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>slotMakeCompletion</b> (string)

@ -3,7 +3,7 @@
"http://www.w3.org/TR/html4/loose.dtd"">
<html>
<head>
<title>class KCompletionBase</title>
<title>class TDECompletionBase</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 KCompletionBase</h1><hr>
<h1>class TDECompletionBase</h1><hr>
</td>
<td width="30%" valign="top" align="right">
<table>
@ -28,7 +28,7 @@
<td width="30%" align=left>tdecore</td>
</tr>
<tr><td>Class</td>
<td>KCompletionBase <a href = "sip/glossary.html#abstract">(<i>abstract</i>)</a></td>
<td>TDECompletionBase <a href = "sip/glossary.html#abstract">(<i>abstract</i>)</a></td>
</tr>
<tr><td>Inherits</td>
<td> </td>
@ -38,23 +38,23 @@
<li><b>KeyBindingType</b> = {TextCompletion, PrevCompletionMatch, NextCompletionMatch, SubstringCompletion
}</ul>
<h3>methods</h3><ul>
<li><b>KCompletionBase</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KCompletionBase instance</i></td></tr>
<li><b>TDECompletionBase</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDECompletionBase instance</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>compObj</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KCompletion)</i></td></tr>
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDECompletion)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>completionMode</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDEGlobalSettings.Completion)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>completionObject</b> (hsig = 1)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KCompletion)</i></td></tr>
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDECompletion)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>hsig</td><td>bool</td><td>1</td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>delegate</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KCompletionBase)</i></td></tr>
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDECompletionBase)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>emitSignals</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
@ -62,11 +62,11 @@
<li><b>getKeyBinding</b> (item)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDEShortcut)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>item</td><td>KCompletionBase.KeyBindingType</td><td></td></tr>
<tr><td>item</td><td>TDECompletionBase.KeyBindingType</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>getKeyBindings</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KCompletionBase.KeyBindingMap)</i></td></tr>
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDECompletionBase.KeyBindingMap)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>handleSignals</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
@ -103,14 +103,14 @@
<li><b>setCompletionObject</b> (compObj, hsig = 1)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>compObj</td><td>KCompletion</td><td></td></tr>
<tr><td>compObj</td><td>TDECompletion</td><td></td></tr>
<tr><td>hsig</td><td>bool</td><td>1</td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>setDelegate</b> (delegate)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>delegate</td><td>KCompletionBase</td><td></td></tr>
<tr><td>delegate</td><td>TDECompletionBase</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>setEnableSignals</b> (enable)
@ -128,7 +128,7 @@
<li><b>setKeyBinding</b> (item, key)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>item</td><td>KCompletionBase.KeyBindingType</td><td></td></tr>
<tr><td>item</td><td>TDECompletionBase.KeyBindingType</td><td></td></tr>
<tr><td>key</td><td>TDEShortcut</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>

@ -47,8 +47,8 @@
<tr ><td><a href="TDECmdLineArgs.html">TDECmdLineArgs</a></td></tr>
<tr ><td><a href="TDECmdLineOptions.html">TDECmdLineOptions</a></td></tr>
<tr ><td><a href="KCodecs.html">KCodecs</a></td></tr>
<tr ><td><a href="KCompletion.html">KCompletion</a></td></tr>
<tr ><td><a href="KCompletionBase.html"><i>KCompletionBase</i></a></td></tr>
<tr ><td><a href="TDECompletion.html">TDECompletion</a></td></tr>
<tr ><td><a href="TDECompletionBase.html"><i>TDECompletionBase</i></a></td></tr>
<tr ><td><a href="TDEConfig.html">TDEConfig</a></td></tr>
<tr ><td><a href="TDEConfigBackEnd.html"><i>TDEConfigBackEnd</i></a></td></tr>
<tr ><td><a href="TDEConfigBase.html"><i>TDEConfigBase</i></a></td></tr>

@ -89,7 +89,7 @@
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>completionObject</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KCompletion)</i></td></tr>
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDECompletion)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>createView</b> (parent, view)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KFileView)</i></td></tr>
@ -129,7 +129,7 @@
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>dirCompletionObject</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KCompletion)</i></td></tr>
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDECompletion)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>dirHighlighting</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>

@ -31,7 +31,7 @@
<td>KComboBox</td>
</tr>
<tr><td>Inherits</td>
<td>TQComboBox, KCompletionBase </td>
<td>TQComboBox, TDECompletionBase </td>
</tr>
</table>
<h3>methods</h3><ul>
@ -81,7 +81,7 @@
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>completionBox</b> (create)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KCompletionBox)</i></td></tr>
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDECompletionBox)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>create</td><td>bool</td><td></td></tr>
</table>
@ -161,7 +161,7 @@
<li><b>rotateText</b> (type)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>type</td><td>KCompletionBase.KeyBindingType</td><td></td></tr>
<tr><td>type</td><td>TDECompletionBase.KeyBindingType</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>setAutoCompletion</b> (autocomplete)
@ -242,7 +242,7 @@
<li><b>textRotation</b> (a0)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>a0</td><td>KCompletionBase.KeyBindingType</td><td></td></tr>
<tr><td>a0</td><td>TDECompletionBase.KeyBindingType</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>trapReturnKey</b> ()

@ -31,7 +31,7 @@
<td>KLineEdit</td>
</tr>
<tr><td>Inherits</td>
<td>TQLineEdit, KCompletionBase </td>
<td>TQLineEdit, TDECompletionBase </td>
</tr>
</table>
<h3>methods</h3><ul>
@ -70,7 +70,7 @@
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>completionBox</b> (create)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KCompletionBox)</i></td></tr>
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDECompletionBox)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>create</td><td>bool</td><td></td></tr>
</table>
@ -187,7 +187,7 @@
<li><b>rotateText</b> (type)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>type</td><td>KCompletionBase.KeyBindingType</td><td></td></tr>
<tr><td>type</td><td>TDECompletionBase.KeyBindingType</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>setCompletedItems</b> (items)
@ -221,7 +221,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.4.0 and above only</td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>box</td><td>KCompletionBox</td><td></td></tr>
<tr><td>box</td><td>TDECompletionBox</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>setCompletionMode</b> (mode)
@ -233,7 +233,7 @@
<li><b>setCompletionObject</b> (a0, hsig = 1)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>a0</td><td>KCompletion</td><td></td></tr>
<tr><td>a0</td><td>TDECompletion</td><td></td></tr>
<tr><td>hsig</td><td>bool</td><td>1</td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
@ -310,7 +310,7 @@
<li><b>textRotation</b> (a0)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>a0</td><td>KCompletionBase.KeyBindingType</td><td></td></tr>
<tr><td>a0</td><td>TDECompletionBase.KeyBindingType</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>trapReturnKey</b> ()

@ -3,7 +3,7 @@
"http://www.w3.org/TR/html4/loose.dtd"">
<html>
<head>
<title>class KCompletionBox</title>
<title>class TDECompletionBox</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 KCompletionBox</h1><hr>
<h1>class TDECompletionBox</h1><hr>
</td>
<td width="30%" valign="top" align="right">
<table>
@ -28,15 +28,15 @@
<td width="30%" align=left>tdeui</td>
</tr>
<tr><td>Class</td>
<td>KCompletionBox</td>
<td>TDECompletionBox</td>
</tr>
<tr><td>Inherits</td>
<td>TDEListBox </td>
</tr>
</table>
<h3>methods</h3><ul>
<li><b>KCompletionBox</b> (parent, name = 0)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KCompletionBox instance</i></td></tr>
<li><b>TDECompletionBox</b> (parent, name = 0)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDECompletionBox 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></td></tr>
<tr><td>name</td><td>char</td><td>0</td></tr>

@ -57,7 +57,7 @@
<tr ><td><a href="KComboBox.html">KComboBox</a></td></tr>
<tr ><td><a href="KCommand.html"><i>KCommand</i></a></td></tr>
<tr ><td><a href="KCommandHistory.html">KCommandHistory</a></td></tr>
<tr ><td><a href="KCompletionBox.html">KCompletionBox</a></td></tr>
<tr ><td><a href="TDECompletionBox.html">TDECompletionBox</a></td></tr>
<tr ><td><a href="TDEConfigDialog.html">TDEConfigDialog</a></td></tr>
<tr ><td><a href="KContextMenuManager.html">KContextMenuManager</a></td></tr>
<tr ><td><a href="KCursor.html">KCursor</a></td></tr>

@ -31,8 +31,8 @@ tdecore,TDEClipboardSynchronizer,,,
tdecore,TDECmdLineArgs,,,
tdecore,TDECmdLineOptions,,,
tdecore,KCodecs,,,
tdecore,KCompletion,,,
tdecore,KCompletionBase,,,
tdecore,TDECompletion,,,
tdecore,TDECompletionBase,,,
tdecore,TDEConfig,,,
tdecore,TDEConfigBackEnd,,,
tdecore,TDEConfigBase,,,
@ -205,7 +205,7 @@ tdeui,KColorPatch,,,
tdeui,KComboBox,,,
tdeui,KCommand,,,
tdeui,KCommandHistory,,,
tdeui,KCompletionBox,,,
tdeui,TDECompletionBox,,,
tdeui,TDEConfigDialog,,,
tdeui,KContextMenuManager,,,
tdeui,KCursor,,,

@ -645,7 +645,7 @@ def widKColorPatch (parent):
def widKComboBox (parent):
parent.currentPageObj = Page2 (parent)
def widKCompletionBox (parent):
def widTDECompletionBox (parent):
parent.currentPageObj = PageNotImpl (parent)
def widKContainerLayout (parent):

@ -39,7 +39,7 @@ listItems = {"Dialogs":
"KColorCombo": [],\
"KColorPatch": [],\
"KComboBox": [],\
"KCompletionBox": [],\
"TDECompletionBox": [],\
"KContainerLayout": ["KContainerLayout::KContainerLayoutItem"],\
"KCursor": [],\
"KDatePicker": ["KDateInternalMonthPicker", "KDateInternalYearSelector"],\

@ -38,7 +38,7 @@ public:
protected:
void postProcessMatch (TQString*);
void postProcessMatches (TQStringList*);
//ig void postProcessMatches (KCompletionMatches*) const;
//ig void postProcessMatches (TDECompletionMatches*) const;
protected:
//igx virtual void virtual_hook (int, void*);

@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class KURLCompletion : KCompletion
class KURLCompletion : TDECompletion
{
%TypeHeaderCode
#include <kurlcompletion.h>
@ -63,7 +63,7 @@ public:
protected:
void postProcessMatch (TQString*);
void postProcessMatches (TQStringList*);
//ig void postProcessMatches (KCompletionMatches*) const;
//ig void postProcessMatches (TDECompletionMatches*) const;
%If ( KDE_3_3_0 - )
virtual void customEvent (TQCustomEvent*);

@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class KCompletion : TQObject
class TDECompletion : TQObject
{
%TypeHeaderCode
#include <kcompletion.h>
@ -40,7 +40,7 @@ public:
Weighted
};
KCompletion ();
TDECompletion ();
virtual TQString makeCompletion (const TQString&);
TQStringList substringCompletion (const TQString&) const;
TQString previousMatch ();
@ -54,14 +54,14 @@ public:
virtual void setCompletionMode (TDEGlobalSettings::Completion);
TDEGlobalSettings::Completion completionMode () const;
virtual void setOrder (KCompletion::CompOrder);
virtual void setOrder (TDECompletion::CompOrder);
CompOrder order () const;
virtual void setIgnoreCase (bool);
bool ignoreCase () const;
TQStringList allMatches ();
TQStringList allMatches (const TQString&);
//ig KCompletionMatches allWeightedMatches ();
//ig KCompletionMatches allWeightedMatches (const TQString&);
//ig TDECompletionMatches allWeightedMatches ();
//ig TDECompletionMatches allWeightedMatches (const TQString&);
virtual void setEnableSounds (bool);
bool isSoundsEnabled () const;
bool hasMultipleMatches () const;
@ -87,18 +87,18 @@ signals:
protected:
virtual void postProcessMatch (TQString*);
virtual void postProcessMatches (TQStringList*);
//ig virtual void postProcessMatches (KCompletionMatches*) const;
//ig virtual void postProcessMatches (TDECompletionMatches*) const;
protected:
//igx virtual void virtual_hook (int, void*);
}; // class KCompletion
}; // class TDECompletion
//ig class KCompletionMatches : KCompletionMatchesList;
//ig class TDECompletionMatches : TDECompletionMatchesList;
class KCompletionBase
class TDECompletionBase
{
%TypeHeaderCode
#include <kcompletion.h>
@ -115,10 +115,10 @@ public:
SubstringCompletion
};
typedef TQMap<KCompletionBase::KeyBindingType,TDEShortcut> KeyBindingMap;
KCompletionBase ();
KCompletion* completionObject (bool = 1);
virtual void setCompletionObject (KCompletion*, bool = 1);
typedef TQMap<TDECompletionBase::KeyBindingType,TDEShortcut> KeyBindingMap;
TDECompletionBase ();
TDECompletion* completionObject (bool = 1);
virtual void setCompletionObject (TDECompletion*, bool = 1);
virtual void setHandleSignals (bool);
bool isCompletionObjectAutoDeleted () const;
void setAutoDeleteCompletionObject (bool);
@ -127,27 +127,27 @@ public:
bool emitSignals () const;
virtual void setCompletionMode (TDEGlobalSettings::Completion);
TDEGlobalSettings::Completion completionMode () const;
bool setKeyBinding (KCompletionBase::KeyBindingType, const TDEShortcut&);
const TDEShortcut& getKeyBinding (KCompletionBase::KeyBindingType) const;
bool setKeyBinding (TDECompletionBase::KeyBindingType, const TDEShortcut&);
const TDEShortcut& getKeyBinding (TDECompletionBase::KeyBindingType) const;
void useGlobalKeyBindings ();
virtual void setCompletedText (const TQString&) = 0;
virtual void setCompletedItems (const TQStringList&) = 0;
KCompletion* compObj () const;
TDECompletion* compObj () const;
protected:
KCompletionBase::KeyBindingMap getKeyBindings () const;
void setDelegate (KCompletionBase*);
KCompletionBase* delegate () const;
TDECompletionBase::KeyBindingMap getKeyBindings () const;
void setDelegate (TDECompletionBase*);
TDECompletionBase* delegate () const;
protected:
//igx virtual void virtual_hook (int, void*);
}; // class KCompletionBase
}; // class TDECompletionBase
//ig typedef KSortableValueList<TQString> KCompletionMatchesList;
//ig typedef KSortableValueList<TQString> TDECompletionMatchesList;
%MappedType KCompletionBase::KeyBindingMap
%MappedType TDECompletionBase::KeyBindingMap
//converts a Python dict of int:TDEShortcut
{
%TypeHeaderCode
@ -167,8 +167,8 @@ protected:
// Get it.
const TQMap<KCompletionBase::KeyBindingType,TDEShortcut> map = *sipCpp;
TQMap<KCompletionBase::KeyBindingType,TDEShortcut>::ConstIterator it;
const TQMap<TDECompletionBase::KeyBindingType,TDEShortcut> map = *sipCpp;
TQMap<TDECompletionBase::KeyBindingType,TDEShortcut>::ConstIterator it;
PyObject *key;
PyObject *value;
@ -197,7 +197,7 @@ protected:
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
TQMap<KCompletionBase::KeyBindingType,TDEShortcut> *kbmap = new TQMap<KCompletionBase::KeyBindingType,TDEShortcut>;
TQMap<TDECompletionBase::KeyBindingType,TDEShortcut> *kbmap = new TQMap<TDECompletionBase::KeyBindingType,TDEShortcut>;
PyObject *key, *value;
SIP_SSIZE_T pos = 0;
@ -215,7 +215,7 @@ protected:
return 0;
}
kbmap->insert ((KCompletionBase::KeyBindingType)PyInt_AS_LONG (key), *cValue);
kbmap->insert ((TDECompletionBase::KeyBindingType)PyInt_AS_LONG (key), *cValue);
}
*sipCppPtr = kbmap;

@ -125,7 +125,7 @@ public:
#if TDE_VERSION >= 0x030100
{sipName_TDEClipboardSynchronizer, &sipClass_TDEClipboardSynchronizer},
#endif
{sipName_KCompletion, &sipClass_KCompletion},
{sipName_TDECompletion, &sipClass_TDECompletion},
{sipName_TDEConfig, &sipClass_TDEConfig},
{sipName_TDEConfigBase, &sipClass_TDEConfigBase},
{sipName_TDEConfigGroup, &sipClass_TDEConfigGroup},

@ -83,8 +83,8 @@ public:
bool isSelected (const KFileItem*) const;
int numDirs () const;
int numFiles () const;
KCompletion* completionObject () const;
KCompletion* dirCompletionObject () const;
TDECompletion* completionObject () const;
TDECompletion* dirCompletionObject () const;
TDEActionCollection* actionCollection () const;
%If ( KDE_3_1_0 - )

@ -71,7 +71,7 @@ protected:
{sipName_KColorPatch, &sipClass_KColorPatch},
{sipName_KComboBox, &sipClass_KComboBox},
{sipName_KCommandHistory, &sipClass_KCommandHistory},
{sipName_KCompletionBox, &sipClass_KCompletionBox},
{sipName_TDECompletionBox, &sipClass_TDECompletionBox},
{sipName_KContextMenuManager, &sipClass_KContextMenuManager},
{sipName_KDateInternalMonthPicker,&sipClass_KDateInternalMonthPicker},
#if TDE_VERSION >= 0x030100

@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class KComboBox : TQComboBox, KCompletionBase
class KComboBox : TQComboBox, TDECompletionBase
{
%TypeHeaderCode
#include <kcombobox.h>
@ -50,7 +50,7 @@ public:
void setTrapReturnKey (bool);
bool trapReturnKey () const;
virtual bool eventFilter (TQObject*, TQEvent*);
KCompletionBox* completionBox (bool);
TDECompletionBox* completionBox (bool);
virtual void setLineEdit (TQLineEdit*);
signals:
@ -58,12 +58,12 @@ signals:
void returnPressed (const TQString&);
void completion (const TQString&);
void substringCompletion (const TQString&);
void textRotation (KCompletionBase::KeyBindingType);
void textRotation (TDECompletionBase::KeyBindingType);
void completionModeChanged (TDEGlobalSettings::Completion);
void aboutToShowContextMenu (TQPopupMenu*);
public slots:
void rotateText (KCompletionBase::KeyBindingType);
void rotateText (TDECompletionBase::KeyBindingType);
virtual void setCompletedText (const TQString&);
void setCompletedItems (const TQStringList&);
void setCurrentItem (const TQString&, bool = 0, int = -1);

@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class KCompletionBox : TDEListBox
class TDECompletionBox : TDEListBox
{
%TypeHeaderCode
#include <kcompletionbox.h>
@ -32,7 +32,7 @@ class KCompletionBox : TDEListBox
public:
KCompletionBox (TQWidget* /TransferThis/, const char* = 0);
TDECompletionBox (TQWidget* /TransferThis/, const char* = 0);
virtual TQSize sizeHint () const;
%If ( KDE_3_4_3 - )
@ -82,5 +82,5 @@ protected slots:
protected:
//igx virtual void virtual_hook (int, void*);
}; // class KCompletionBox
}; // class TDECompletionBox

@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class KLineEdit : TQLineEdit, KCompletionBase
class KLineEdit : TQLineEdit, TDECompletionBase
{
%TypeHeaderCode
#include <klineedit.h>
@ -44,8 +44,8 @@ public:
void setTrapReturnKey (bool);
bool trapReturnKey () const;
virtual bool eventFilter (TQObject*, TQEvent*);
KCompletionBox* completionBox (bool);
virtual void setCompletionObject (KCompletion*, bool = 1);
TDECompletionBox* completionBox (bool);
virtual void setCompletionObject (TDECompletion*, bool = 1);
%If ( KDE_3_1_0 - )
virtual void copy () const;
@ -56,7 +56,7 @@ public:
TQString originalText () const;
%If ( KDE_3_4_0 - )
void setCompletionBox (KCompletionBox*);
void setCompletionBox (TDECompletionBox*);
%End
%End
@ -73,13 +73,13 @@ signals:
void returnPressed (const TQString&);
void completion (const TQString&);
void substringCompletion (const TQString&);
void textRotation (KCompletionBase::KeyBindingType);
void textRotation (TDECompletionBase::KeyBindingType);
void completionModeChanged (TDEGlobalSettings::Completion);
void aboutToShowContextMenu (TQPopupMenu*);
public slots:
virtual void setReadOnly (bool);
void rotateText (KCompletionBase::KeyBindingType);
void rotateText (TDECompletionBase::KeyBindingType);
virtual void setCompletedText (const TQString&);
void setCompletedItems (const TQStringList&);

Loading…
Cancel
Save