-rw-r--r-- | core/pim/today/TODO | 6 | ||||
-rw-r--r-- | core/pim/today/todayconfig.cpp | 14 | ||||
-rw-r--r-- | core/pim/today/todayconfig.h | 2 |
3 files changed, 15 insertions, 7 deletions
diff --git a/core/pim/today/TODO b/core/pim/today/TODO index 6634cad..49503bd 100644 --- a/core/pim/today/TODO +++ b/core/pim/today/TODO | |||
@@ -2,2 +2,8 @@ TODO for today: | |||
2 | 2 | ||
3 | - all icons clickable | ||
4 | |||
5 | - retail rom mail plugin (z) | ||
6 | |||
7 | - autostart on retail rom (Z) | ||
8 | |||
3 | * show "upcoming appointents the next days | 9 | * show "upcoming appointents the next days |
diff --git a/core/pim/today/todayconfig.cpp b/core/pim/today/todayconfig.cpp index 9ff9ba6..3fc5830 100644 --- a/core/pim/today/todayconfig.cpp +++ b/core/pim/today/todayconfig.cpp | |||
@@ -106,4 +106,3 @@ void TodayConfig::setAutoStart() { | |||
106 | cfg.setGroup( "Autostart" ); | 106 | cfg.setGroup( "Autostart" ); |
107 | int autostart = cfg.readNumEntry( "autostart", 1 ); | 107 | if ( m_autoStart ) { |
108 | if ( autostart ) { | ||
109 | QCopEnvelope e( "QPE/System", "autoStart(QString,QString,QString)" ); | 108 | QCopEnvelope e( "QPE/System", "autoStart(QString,QString,QString)" ); |
@@ -111,3 +110,3 @@ void TodayConfig::setAutoStart() { | |||
111 | e << QString( "today" ); | 110 | e << QString( "today" ); |
112 | e << m_autoStartTimer; | 111 | e << QString("%1").arg( m_autoStartTimer ); |
113 | } else { | 112 | } else { |
@@ -127,4 +126,4 @@ void TodayConfig::readConfig() { | |||
127 | CheckBoxAuto->setChecked( m_autoStart ); | 126 | CheckBoxAuto->setChecked( m_autoStart ); |
128 | m_autoStartTimer = cfg.readEntry( "autostartdelay", "0" ); | 127 | m_autoStartTimer = cfg.readNumEntry( "autostartdelay", 0 ); |
129 | SpinBoxTime->setValue( m_autoStartTimer.toInt() ); | 128 | SpinBoxTime->setValue( m_autoStartTimer ); |
130 | 129 | ||
@@ -170,3 +169,6 @@ void TodayConfig::writeConfig() { | |||
170 | m_autoStartTimer = SpinBoxTime->value(); | 169 | m_autoStartTimer = SpinBoxTime->value(); |
171 | cfg.readEntry( "autostartdelay", m_autoStartTimer ); | 170 | cfg.writeEntry( "autostartdelay", m_autoStartTimer ); |
171 | |||
172 | // set autostart settings | ||
173 | setAutoStart(); | ||
172 | } | 174 | } |
diff --git a/core/pim/today/todayconfig.h b/core/pim/today/todayconfig.h index 7c261bd..f23b850 100644 --- a/core/pim/today/todayconfig.h +++ b/core/pim/today/todayconfig.h | |||
@@ -56,3 +56,3 @@ private: | |||
56 | int m_autoStart; | 56 | int m_autoStart; |
57 | QString m_autoStartTimer; | 57 | int m_autoStartTimer; |
58 | QStringList m_excludeApplets; | 58 | QStringList m_excludeApplets; |