summaryrefslogtreecommitdiffstats
path: root/sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip')
-rw-r--r--sip/kio/kshellcompletion.sip2
-rw-r--r--sip/kio/kurlcompletion.sip4
-rw-r--r--sip/tdecore/kcompletion.sip52
-rw-r--r--sip/tdecore/tdeaccel.sip2
-rw-r--r--sip/tdefile/kdiroperator.sip4
-rw-r--r--sip/tdeui/kaboutapplication.sip2
-rw-r--r--sip/tdeui/kcombobox.sip8
-rw-r--r--sip/tdeui/kcompletionbox.sip6
-rw-r--r--sip/tdeui/klineedit.sip12
9 files changed, 46 insertions, 46 deletions
diff --git a/sip/kio/kshellcompletion.sip b/sip/kio/kshellcompletion.sip
index 34049eb..2d840b0 100644
--- a/sip/kio/kshellcompletion.sip
+++ b/sip/kio/kshellcompletion.sip
@@ -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*);
diff --git a/sip/kio/kurlcompletion.sip b/sip/kio/kurlcompletion.sip
index b270129..9c4de72 100644
--- a/sip/kio/kurlcompletion.sip
+++ b/sip/kio/kurlcompletion.sip
@@ -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*);
diff --git a/sip/tdecore/kcompletion.sip b/sip/tdecore/kcompletion.sip
index 62013a6..223e230 100644
--- a/sip/tdecore/kcompletion.sip
+++ b/sip/tdecore/kcompletion.sip
@@ -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;
diff --git a/sip/tdecore/tdeaccel.sip b/sip/tdecore/tdeaccel.sip
index 7522118..4ad90cf 100644
--- a/sip/tdecore/tdeaccel.sip
+++ b/sip/tdecore/tdeaccel.sip
@@ -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},
diff --git a/sip/tdefile/kdiroperator.sip b/sip/tdefile/kdiroperator.sip
index e306b8c..225a53d 100644
--- a/sip/tdefile/kdiroperator.sip
+++ b/sip/tdefile/kdiroperator.sip
@@ -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 - )
diff --git a/sip/tdeui/kaboutapplication.sip b/sip/tdeui/kaboutapplication.sip
index 23746cf..f86ad87 100644
--- a/sip/tdeui/kaboutapplication.sip
+++ b/sip/tdeui/kaboutapplication.sip
@@ -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
diff --git a/sip/tdeui/kcombobox.sip b/sip/tdeui/kcombobox.sip
index acc5988..03a1ff7 100644
--- a/sip/tdeui/kcombobox.sip
+++ b/sip/tdeui/kcombobox.sip
@@ -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);
diff --git a/sip/tdeui/kcompletionbox.sip b/sip/tdeui/kcompletionbox.sip
index 69583d7..1f08386 100644
--- a/sip/tdeui/kcompletionbox.sip
+++ b/sip/tdeui/kcompletionbox.sip
@@ -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
diff --git a/sip/tdeui/klineedit.sip b/sip/tdeui/klineedit.sip
index a2b05ca..e27aadb 100644
--- a/sip/tdeui/klineedit.sip
+++ b/sip/tdeui/klineedit.sip
@@ -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&);