summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kpackage/options.cpp2
-rw-r--r--kpackage/updateLoc.cpp2
-rw-r--r--ksysv/OldView.cpp2
-rw-r--r--ksysv/SpinBox.cpp4
-rw-r--r--ksysv/SpinBox.h2
-rw-r--r--ksysv/ksv_core.cpp8
-rw-r--r--ksysv/ksv_core.h6
7 files changed, 13 insertions, 13 deletions
diff --git a/kpackage/options.cpp b/kpackage/options.cpp
index 837c51c..41b2377 100644
--- a/kpackage/options.cpp
+++ b/kpackage/options.cpp
@@ -78,7 +78,7 @@ Options::Options(TQWidget *parent)
huse = new TQCheckBox(i18n("Use remote host (Debian APT only):"),hh);
connect(huse, TQT_SIGNAL(clicked()), this, TQT_SLOT(useRemote()));
hosts = new KComboBox( true, hh, "combo" );
- KCompletion *comp = hosts->completionObject();
+ TDECompletion *comp = hosts->completionObject();
connect(hosts,TQT_SIGNAL(returnPressed(const TQString&)),comp,TQT_SLOT(addItem(const TQString&)));
connect(hosts,TQT_SIGNAL(returnPressed()),this,TQT_SLOT(insHosts()));
hosts->setMaxCount(20);
diff --git a/kpackage/updateLoc.cpp b/kpackage/updateLoc.cpp
index 0cc5d89..9338a3d 100644
--- a/kpackage/updateLoc.cpp
+++ b/kpackage/updateLoc.cpp
@@ -553,7 +553,7 @@ cUpdateLoc::cUpdateLoc(TQWidget *p, int panelNumber, pkgInterface *inter, const
TQVBoxLayout *vloc = new TQVBoxLayout(floc->layout());
combo[i] = new KComboBox( true, floc);
- KCompletion *comp = combo[i]->completionObject();
+ TDECompletion *comp = combo[i]->completionObject();
connect(combo[i],TQT_SIGNAL(returnPressed(const TQString&))
,comp,TQT_SLOT(addItem(const TQString&)));
combo[i]->insertStringList(TQStringList::split(' ',*ocIt));
diff --git a/ksysv/OldView.cpp b/ksysv/OldView.cpp
index 3d42700..6e96046 100644
--- a/ksysv/OldView.cpp
+++ b/ksysv/OldView.cpp
@@ -387,7 +387,7 @@ void KSVContent::initScripts() {
// const TQFileInfoList *scriptList = scriptDir.entryInfoList();
TQFileInfoListIterator it (*scriptDir.entryInfoList());
- KCompletion* comp = ksv::serviceCompletion();
+ TDECompletion* comp = ksv::serviceCompletion();
comp->clear ();
// clear the listview
diff --git a/ksysv/SpinBox.cpp b/ksysv/SpinBox.cpp
index 72ca85e..cb56bbe 100644
--- a/ksysv/SpinBox.cpp
+++ b/ksysv/SpinBox.cpp
@@ -9,10 +9,10 @@
KSVSpinBox::KSVSpinBox (TQWidget* parent, const char* name)
: TQSpinBox (0, 99, 1, parent, name),
- KCompletionBase (),
+ TDECompletionBase (),
mClearedSelection (false)
{
- KCompletion* comp = ksv::numberCompletion();
+ TDECompletion* comp = ksv::numberCompletion();
setCompletionObject (comp, true);
editor()->installEventFilter (this);
diff --git a/ksysv/SpinBox.h b/ksysv/SpinBox.h
index b153e72..00369d3 100644
--- a/ksysv/SpinBox.h
+++ b/ksysv/SpinBox.h
@@ -7,7 +7,7 @@
#include <kcompletion.h>
-class KSVSpinBox : public TQSpinBox, public KCompletionBase
+class KSVSpinBox : public TQSpinBox, public TDECompletionBase
{
Q_OBJECT
diff --git a/ksysv/ksv_core.cpp b/ksysv/ksv_core.cpp
index e980f69..48eb9fd 100644
--- a/ksysv/ksv_core.cpp
+++ b/ksysv/ksv_core.cpp
@@ -121,16 +121,16 @@ TQStyleSheet* ksv::styleSheet ()
return &style;
}
-KCompletion* ksv::serviceCompletion ()
+TDECompletion* ksv::serviceCompletion ()
{
- static KCompletion comp;
+ static TDECompletion comp;
return &comp;
}
-KCompletion* ksv::numberCompletion ()
+TDECompletion* ksv::numberCompletion ()
{
- static KCompletion comp;
+ static TDECompletion comp;
static bool initialized = false;
if (!initialized)
diff --git a/ksysv/ksv_core.h b/ksysv/ksv_core.h
index 8472fcc..9ffb02f 100644
--- a/ksysv/ksv_core.h
+++ b/ksysv/ksv_core.h
@@ -18,7 +18,7 @@
class TQPushButton;
class TQStyleSheet;
class TDEAboutData;
-class KCompletion;
+class TDECompletion;
class KSVItem;
namespace ksv
@@ -40,8 +40,8 @@ namespace ksv
const TQString& logFileExtension ();
const TQString& nativeFileExtension ();
- KCompletion* serviceCompletion ();
- KCompletion* numberCompletion ();
+ TDECompletion* serviceCompletion ();
+ TDECompletion* numberCompletion ();
extern const int runlevelNumber;
extern TDEAboutData* about;