[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kronometer] src: krazy: fix not documented doxygen parameters
From:       Elvis Angelaccio <elvis.angelaccio () kdemail ! net>
Date:       2015-08-13 8:47:39
Message-ID: E1ZPoAl-0005UO-F5 () scm ! kde ! org
[Download RAW message or body]

Git commit 1f1ba3eaef5e686cdd8b0ab2d956f7b8b4566486 by Elvis Angelaccio.
Committed on 13/08/2015 at 08:46.
Pushed by elvisangelaccio into branch 'master'.

krazy: fix not documented doxygen parameters

M  +3    -3    src/mainwindow.cpp
M  +2    -2    src/session.cpp
M  +1    -1    src/session.h
M  +1    -1    src/sessionmodel.h

http://commits.kde.org/kronometer/1f1ba3eaef5e686cdd8b0ab2d956f7b8b4566486

diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index c0c50be..33010fd 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -134,7 +134,7 @@ void MainWindow::slotRunning()
 {
     m_statusLabel->setText(i18n("Running..."));
 
-    m_session.setOutdated(true);
+    m_session.setIsOutdated(true);
     setWindowModified(true);
 
     stateChanged(QStringLiteral("running"));
@@ -164,7 +164,7 @@ void MainWindow::slotInactive()
     m_startAction->setText(i18n("&Start"));
     m_statusLabel->setText(i18n("Inactive"));
 
-    m_session.setOutdated(false);
+    m_session.setIsOutdated(false);
 
     setWindowTitle(i18nc("untitled window", "Untitled"));
     setWindowModified(false);
@@ -253,7 +253,7 @@ void MainWindow::slotSaveSession()
         m_session.addLap(m_lapModel->at(i));
     }
 
-    m_session.setOutdated(false);
+    m_session.setIsOutdated(false);
     m_sessionModel->update(m_session);
 
     setWindowModified(false);
diff --git a/src/session.cpp b/src/session.cpp
index 96d287b..0edce00 100644
--- a/src/session.cpp
+++ b/src/session.cpp
@@ -48,9 +48,9 @@ void Session::setDate(const QDateTime& date)
     m_date = date;
 }
 
-void Session::setOutdated(bool outdated)
+void Session::setIsOutdated(bool isOutdated)
 {
-    m_isOutdated = outdated;
+    m_isOutdated = isOutdated;
 }
 
 QString Session::name() const
diff --git a/src/session.h b/src/session.h
index 10b4bea..357f45e 100644
--- a/src/session.h
+++ b/src/session.h
@@ -62,7 +62,7 @@ public:
      * Set whether the session data is outdated.
      * @param isOutdated Whether the session is outdated.
      */
-    void setOutdated(bool outdated);
+    void setIsOutdated(bool isOutdated);
 
     /**
      * @return The session name.
diff --git a/src/sessionmodel.h b/src/sessionmodel.h
index 177bb06..dbd3044 100644
--- a/src/sessionmodel.h
+++ b/src/sessionmodel.h
@@ -52,7 +52,7 @@ public:
 
     /**
      * Insert a new Session object to the end of the model.
-     * @param Session The new Session object.
+     * @param session The new Session object.
      */
     void append(const Session& session);
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic