]> Git trees. - libqmvoc.git/commitdiff
Change function names from getMyProperty() to myProperty() per Qt/KDE standards.
authorPeter Hedlund <peter@peterandlinda.com>
Thu, 14 Jul 2005 02:56:06 +0000 (02:56 +0000)
committerPeter Hedlund <peter@peterandlinda.com>
Thu, 14 Jul 2005 02:56:06 +0000 (02:56 +0000)
svn path=/branches/work/kwordquiz/src/keduvocdocument.h; revision=434429

kwordquiz/keduvocdocument.cpp
kwordquiz/keduvocdocument.h

index 454042cd2dd7b294c6fcb495caa61dd2b732adc2..f53319452243993c7e00a36dc0aeb5b9d55b72f4 100644 (file)
@@ -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;
 }
 
 
index 70d90b15f70bcbc43bf05feca5e9e4b0bd8d89f3..d85cab3aa602d2e2922af31eadc198d668bc2ff8 100644 (file)
@@ -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<Article>        articles;
   vector<Conjugation>    conjugations;
 
-  LeitnerSystem*              leitnerSystem;
+  LeitnerSystem*              m_leitnerSystem;
   bool                              activeLeitnerSystem;
 };