[Ktutorial-commits] SF.net SVN: ktutorial:[82] trunk/ktutorial/src
Status: Alpha
                
                Brought to you by:
                
                    danxuliu
                    
                
            | 
      
      
      From: <dan...@us...> - 2010-02-08 19:07:11
      
     | 
| Revision: 82
          http://ktutorial.svn.sourceforge.net/ktutorial/?rev=82&view=rev
Author:   danxuliu
Date:     2010-02-08 19:07:04 +0000 (Mon, 08 Feb 2010)
Log Message:
-----------
More appropriate visibility for showTutorialManagerDialog slot.
Modified Paths:
--------------
    trunk/ktutorial/src/KTutorial.cpp
    trunk/ktutorial/src/KTutorial.h
Modified: trunk/ktutorial/src/KTutorial.cpp
===================================================================
--- trunk/ktutorial/src/KTutorial.cpp	2010-02-08 17:23:05 UTC (rev 81)
+++ trunk/ktutorial/src/KTutorial.cpp	2010-02-08 19:07:04 UTC (rev 82)
@@ -64,6 +64,10 @@
     ScriptManager().loadTutorials(mTutorialmanager);
 }
 
+//private:
+
+KTutorial* KTutorial::sSelf = new KTutorial();
+
 void KTutorial::showTutorialManagerDialog() const {
     QDialog* dialog = new TutorialManagerDialog(mTutorialmanager, mParent);
     dialog->setAttribute(Qt::WA_DeleteOnClose);
@@ -72,10 +76,6 @@
     dialog->show();
 }
 
-//private:
-
-KTutorial* KTutorial::sSelf = new KTutorial();
-
 void KTutorial::disableTutorialsAction() {
     mTutorialsAction->setEnabled(false);
 }
Modified: trunk/ktutorial/src/KTutorial.h
===================================================================
--- trunk/ktutorial/src/KTutorial.h	2010-02-08 17:23:05 UTC (rev 81)
+++ trunk/ktutorial/src/KTutorial.h	2010-02-08 19:07:04 UTC (rev 82)
@@ -134,14 +134,6 @@
         return mParent->findChild<T>(name);
     }
 
-public slots:
-
-    /**
-     * Shows a modal TutorialManagerDialog.
-     * Called when the tutorials action is triggered.
-     */
-    void showTutorialManagerDialog() const;
-
 private:
 
     /**
@@ -178,6 +170,12 @@
 private slots:
 
     /**
+     * Shows a modal TutorialManagerDialog.
+     * Called when the tutorials action is triggered.
+     */
+    void showTutorialManagerDialog() const;
+
+    /**
      * Disables mTutorialsAction.
      * Just a wrapper to be connected with signals that can't pass false to the
      * setEnabled(bool) slot.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
 |