Rename KComp to avoid conflicts with KDE4

r14.0.x
Timothy Pearson 12 years ago
parent 383567041b
commit 7bf62bda5f

@ -32,7 +32,7 @@
#include <kguiitem.h> #include <kguiitem.h>
/* Override the completion box for our references */ /* Override the completion box for our references */
CKeyReferenceCompletion::CKeyReferenceCompletion(CSwordBibleModuleInfo *mod) : KCompletion() CKeyReferenceCompletion::CKeyReferenceCompletion(CSwordBibleModuleInfo *mod) : TDECompletion()
{ {
m_key = new CSwordVerseKey(mod); m_key = new CSwordVerseKey(mod);
m_module = mod; m_module = mod;
@ -53,7 +53,7 @@ CKeyReferenceLineEdit::CKeyReferenceLineEdit(TQWidget *parent, const char *name)
} }
void CKeyReferenceLineEdit::makeCompletion(const TQString &text) { void CKeyReferenceLineEdit::makeCompletion(const TQString &text) {
KCompletion *comp = compObj(); TDECompletion *comp = compObj();
TDEGlobalSettings::Completion mode = completionMode(); TDEGlobalSettings::Completion mode = completionMode();
if ( !comp || mode == TDEGlobalSettings::CompletionNone ) if ( !comp || mode == TDEGlobalSettings::CompletionNone )
@ -65,7 +65,7 @@ void CKeyReferenceLineEdit::makeCompletion(const TQString &text) {
{ {
if ( match.isNull() ) if ( match.isNull() )
{ {
KCompletionBox *compbox = completionBox(); TDECompletionBox *compbox = completionBox();
compbox->hide(); compbox->hide();
compbox->clear(); compbox->clear();
} else { } else {

@ -24,7 +24,7 @@
class CLexiconKeyChooser; class CLexiconKeyChooser;
class CSwordVerseKey; class CSwordVerseKey;
class CKeyReferenceCompletion : public KCompletion { class CKeyReferenceCompletion : public TDECompletion {
Q_OBJECT Q_OBJECT
public: public:

Loading…
Cancel
Save