diff options
author | Timothy Pearson <[email protected]> | 2013-02-07 17:53:51 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-07 17:53:51 -0600 |
commit | 6131ac753137296a94d20f6b05f0728125bd1d37 (patch) | |
tree | 93a7d2078e8c6e1ff011e8567b8c23d4dd813f01 /ksysv | |
parent | e428ea920f2307e4086b57a63089472c2d92579c (diff) | |
download | tdeadmin-6131ac753137296a94d20f6b05f0728125bd1d37.tar.gz tdeadmin-6131ac753137296a94d20f6b05f0728125bd1d37.zip |
Rename KComp to avoid conflicts with KDE4
Diffstat (limited to 'ksysv')
-rw-r--r-- | ksysv/OldView.cpp | 2 | ||||
-rw-r--r-- | ksysv/SpinBox.cpp | 4 | ||||
-rw-r--r-- | ksysv/SpinBox.h | 2 | ||||
-rw-r--r-- | ksysv/ksv_core.cpp | 8 | ||||
-rw-r--r-- | ksysv/ksv_core.h | 6 |
5 files changed, 11 insertions, 11 deletions
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 ∁ } -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; |