From: Peter Hedlund Date: Thu, 14 Jul 2005 02:56:06 +0000 (+0000) Subject: Change function names from getMyProperty() to myProperty() per Qt/KDE standards. X-Git-Tag: v3.80.2~237^2~24 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=c91c46ae908ec97d41b3e6d59211870453685845;p=libqmvoc.git Change function names from getMyProperty() to myProperty() per Qt/KDE standards. svn path=/branches/work/kwordquiz/src/keduvocdocument.h; revision=434429 --- diff --git a/kwordquiz/keduvocdocument.cpp b/kwordquiz/keduvocdocument.cpp index 454042c..f533194 100644 --- a/kwordquiz/keduvocdocument.cpp +++ b/kwordquiz/keduvocdocument.cpp @@ -95,7 +95,7 @@ void KEduVocDocument::Init () m_font = NULL; activeLeitnerSystem = false; - leitnerSystem = NULL; + m_leitnerSystem = NULL; } @@ -695,7 +695,7 @@ void KEduVocDocument::setLeitnerSystemActive( bool yes ) { if( yes ) { - if( leitnerSystem == 0 ) + if (m_leitnerSystem == 0) createStandardLeitnerSystem(); //if nothing is loaded yet activeLeitnerSystem = true; @@ -731,20 +731,20 @@ void KEduVocDocument::createStandardLeitnerSystem() tmpSystem->setCorrectBox( "Box 5", "Box 1" ); tmpSystem->setWrongBox( "Box 5", "Box 1" ); - leitnerSystem = tmpSystem; + m_leitnerSystem = tmpSystem; } void KEduVocDocument::setLeitnerSystem( LeitnerSystem* system ) { - leitnerSystem = system; + m_leitnerSystem = system; /*KWordQuizApp* app = (KWordQuizApp*) parent(); app->slotLeitnerSystem();*/ } -LeitnerSystem* KEduVocDocument::getLeitnerSystem() +LeitnerSystem* KEduVocDocument::leitnerSystem() { - return leitnerSystem; + return m_leitnerSystem; } diff --git a/kwordquiz/keduvocdocument.h b/kwordquiz/keduvocdocument.h index 70d90b1..d85cab3 100644 --- a/kwordquiz/keduvocdocument.h +++ b/kwordquiz/keduvocdocument.h @@ -610,7 +610,7 @@ class KEduVocDocument : public QObject void setLeitnerSystemActive(bool yes); void createStandardLeitnerSystem(); void setLeitnerSystem( LeitnerSystem* system ); - LeitnerSystem* getLeitnerSystem(); + LeitnerSystem* leitnerSystem(); bool unknownAttribute (int line, const QString &name, const QString &attr); void unknownElement (int line, const QString &elem ); @@ -696,7 +696,7 @@ protected: vector
articles; vector conjugations; - LeitnerSystem* leitnerSystem; + LeitnerSystem* m_leitnerSystem; bool activeLeitnerSystem; };