diff options
Diffstat (limited to 'src/backend/keys/cswordldkey.cpp')
-rw-r--r-- | src/backend/keys/cswordldkey.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/keys/cswordldkey.cpp b/src/backend/keys/cswordldkey.cpp index ecde8b7..822da8c 100644 --- a/src/backend/keys/cswordldkey.cpp +++ b/src/backend/keys/cswordldkey.cpp @@ -86,7 +86,7 @@ bool CSwordLDKey::setKey(const char *newKey) { if (newKey) { SWKey::operator = (newKey); //set the key - m_module->module()->SetKey(this); + m_module->module()->setKey(this); m_module->snap(); } @@ -95,29 +95,29 @@ bool CSwordLDKey::setKey(const char *newKey) { /** Uses the parameter to returns the next entry afer this key. */ CSwordLDKey* CSwordLDKey::NextEntry() { - m_module->module()->SetKey(this); //use this key as base for the next one! + m_module->module()->setKey(this); // use this key as base for the next one! // m_module->module()->getKey()->setText( (const char*)key().utf8() ); m_module->module()->setSkipConsecutiveLinks(true); ( *( m_module->module() ) )++; m_module->module()->setSkipConsecutiveLinks(false); - setKey(m_module->module()->KeyText()); - SWKey::operator = (m_module->module()->KeyText()); + setKey(m_module->module()->getKeyText()); + setText(m_module->module()->getKeyText()); return this; } /** Uses the parameter to returns the next entry afer this key. */ CSwordLDKey* CSwordLDKey::PreviousEntry() { - m_module->module()->SetKey(this); //use this key as base for the next one! + m_module->module()->setKey(this); // use this key as base for the next one! // m_module->module()->getKey()->setText( (const char*)key().utf8() ); m_module->module()->setSkipConsecutiveLinks(true); ( *( m_module->module() ) )--; m_module->module()->setSkipConsecutiveLinks(false); - SWKey::operator = (m_module->module()->KeyText()); + setText(m_module->module()->getKeyText()); return this; } |