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

List:       kde-commits
Subject:    KDE/kdeedu/ktouch/src
From:       Håvard Frøiland <haavard () solveien ! net>
Date:       2007-02-18 20:33:00
Message-ID: 1171830780.242595.20973.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 634929 by haavard:

cleanup

 M  +0 -24     ktouchstatisticsdialog.cpp  
 M  +0 -2      ktouchstatisticsdialog.h  


--- trunk/KDE/kdeedu/ktouch/src/ktouchstatisticsdialog.cpp #634928:634929
@@ -61,8 +61,6 @@
 
 
     levelsRadio->setEnabled(false);
-
-    init();
 }
 // ----------------------------------------------------------------------------
 
@@ -457,25 +455,3 @@
 // ----------------------------------------------------------------------------
 
 
-void KTouchStatisticsDialog::init() {
-    /*if (m_trainer->m_sessionHistory.size()<2) {
-        chartTypeButtonGroup->setEnabled(false);
-        chartWidget->setEraseColor( Qt::gray );
-    }
-    else {
-        chartTypeButtonGroup->setEnabled(true);
-        chartWidget->setEraseColor( Qt::white );
-    };
-    if (charSpeedButton->isChecked())
-        chartWidget->setChartType( KTouchChartWidget::CharsPerMinute );
-    else if (wordSpeedButton->isChecked())
-        chartWidget->setChartType( KTouchChartWidget::WordsPerMinute );
-    else if (accuracyButton->isChecked())
-        chartWidget->setChartType( KTouchChartWidget::Accuracy );
-    else if (timeButton->isChecked())
-        chartWidget->setChartType( KTouchChartWidget::ElapsedTime );*/
-}
-
-// ----------------------------------------------------------------------------
-
-
--- trunk/KDE/kdeedu/ktouch/src/ktouchstatisticsdialog.h #634928:634929
@@ -47,8 +47,6 @@
 	/// Updates the data in the current tab, using the data stored in m_currLevelStats.
 	void updateCurrentLevelTab();
 
-    void init();
-
 	unsigned int			m_currentIndex;		///< Index in lecture combo of the current lecture.
 	unsigned int			m_lectureIndex;		///< Index of currently selected lecture.
 	KTouchStatisticsData 	m_allStats;			///< Contains all lecture statistics.
[prev in list] [next in list] [prev in thread] [next in thread] 

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