summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-07 17:43:12 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-07 17:43:12 -0600
commit7bf62bda5f74c0800ab683e27d3e6c09dac67fb1 (patch)
tree8a30e51e0584815a4a2646978c33eb9650b43cc1
parent383567041b4b7eacd4c5fe263b0fc1e27e56b7bc (diff)
downloadbibletime-7bf62bda5f74c0800ab683e27d3e6c09dac67fb1.tar.gz
bibletime-7bf62bda5f74c0800ab683e27d3e6c09dac67fb1.zip
Rename KComp to avoid conflicts with KDE4
-rw-r--r--bibletime/frontend/keychooser/ckeyreferencewidget.cpp6
-rw-r--r--bibletime/frontend/keychooser/ckeyreferencewidget.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/bibletime/frontend/keychooser/ckeyreferencewidget.cpp b/bibletime/frontend/keychooser/ckeyreferencewidget.cpp
index 3482c76..7050e06 100644
--- a/bibletime/frontend/keychooser/ckeyreferencewidget.cpp
+++ b/bibletime/frontend/keychooser/ckeyreferencewidget.cpp
@@ -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 {
diff --git a/bibletime/frontend/keychooser/ckeyreferencewidget.h b/bibletime/frontend/keychooser/ckeyreferencewidget.h
index eaee9ff..72db2da 100644
--- a/bibletime/frontend/keychooser/ckeyreferencewidget.h
+++ b/bibletime/frontend/keychooser/ckeyreferencewidget.h
@@ -24,7 +24,7 @@
class CLexiconKeyChooser;
class CSwordVerseKey;
-class CKeyReferenceCompletion : public KCompletion {
+class CKeyReferenceCompletion : public TDECompletion {
Q_OBJECT
public: