|
|
|
@ -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 {
|
|
|
|
|