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

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

Loading…
Cancel
Save