diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-03-26 00:43:38 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-03-26 00:44:41 +0100 |
commit | c9a29849cb166e6711c7704dafd868159fd6cd58 (patch) | |
tree | 69525be30481d48d0309d84f86047a02522b485a /karm | |
parent | c8000010a85020b9ade17ee1d98a46f0ed7f4bd0 (diff) | |
download | tdepim-c9a29849cb166e6711c7704dafd868159fd6cd58.tar.gz tdepim-c9a29849cb166e6711c7704dafd868159fd6cd58.zip |
Add CMake option to build karm with xscreensaver support
Diffstat (limited to 'karm')
-rw-r--r-- | karm/CMakeLists.txt | 2 | ||||
-rw-r--r-- | karm/mainwindow.cpp | 4 | ||||
-rw-r--r-- | karm/mainwindow.h | 2 | ||||
-rw-r--r-- | karm/preferences.cpp | 1 |
4 files changed, 5 insertions, 4 deletions
diff --git a/karm/CMakeLists.txt b/karm/CMakeLists.txt index 8c785b2f6..a8cdc5a1b 100644 --- a/karm/CMakeLists.txt +++ b/karm/CMakeLists.txt @@ -55,7 +55,7 @@ tde_add_library( karm SHARED AUTOMOC csvexportdialog.cpp plannerparser.cpp karmdcopiface.skel taskviewwhatsthis.cpp VERSION 0.0.0 - LINK kcal_resourceremote-shared tdeprint-shared + LINK kcal_resourceremote-shared tdeprint-shared ${XSS_LIBRARIES} DESTINATION ${LIB_INSTALL_DIR} ) diff --git a/karm/mainwindow.cpp b/karm/mainwindow.cpp index 9e530078d..c9c2ef6a2 100644 --- a/karm/mainwindow.cpp +++ b/karm/mainwindow.cpp @@ -47,7 +47,7 @@ MainWindow::MainWindow( const TQString &icsfile ) setCentralWidget( _taskView ); // status bar - starStatusBar(); + startStatusBar(); // setup PreferenceDialog. _preferences = Preferences::instance(); @@ -208,7 +208,7 @@ void MainWindow::updateStatusBar( ) statusBar()->changeItem( i18n("Total: %1" ).arg(time), 1); } -void MainWindow::starStatusBar() +void MainWindow::startStatusBar() { statusBar()->insertItem( i18n("Session"), 0, 0, true ); statusBar()->insertItem( i18n("Total" ), 1, 0, true ); diff --git a/karm/mainwindow.h b/karm/mainwindow.h index c1504e98f..0e9324846 100644 --- a/karm/mainwindow.h +++ b/karm/mainwindow.h @@ -108,7 +108,7 @@ class MainWindow : public KParts::MainWindow, virtual public KarmDCOPIface // void timeLoggingChanged( bool on ); protected: - void starStatusBar(); + void startStatusBar(); virtual void saveProperties( TDEConfig* ); virtual void readProperties( TDEConfig* ); void saveGeometry(); diff --git a/karm/preferences.cpp b/karm/preferences.cpp index 1307bfefc..fbfe2063f 100644 --- a/karm/preferences.cpp +++ b/karm/preferences.cpp @@ -145,6 +145,7 @@ void Preferences::makeStoragePage() void Preferences::disableIdleDetection() { _doIdleDetectionW->setEnabled(false); + _idleDetectValueW->setEnabled(false); } |