summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/ui
Unidiff
Diffstat (limited to 'libopie2/opiepim/ui') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/ui/opimmainwindow.cpp5
-rw-r--r--libopie2/opiepim/ui/opimmainwindow.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/libopie2/opiepim/ui/opimmainwindow.cpp b/libopie2/opiepim/ui/opimmainwindow.cpp
index cf05329..bdf20a9 100644
--- a/libopie2/opiepim/ui/opimmainwindow.cpp
+++ b/libopie2/opiepim/ui/opimmainwindow.cpp
@@ -294,6 +294,11 @@ void OPimMainWindow::setConfigureEnabled( bool enable ) {
294 m_configureAction->setEnabled( enable ); 294 m_configureAction->setEnabled( enable );
295} 295}
296 296
297void OPimMainWindow::setShowCategories( bool show ) {
298 show ? m_catSelect->show()
299 : m_catSelect->hide();
300}
301
297void OPimMainWindow::initBars( const QString &itemName ) { 302void OPimMainWindow::initBars( const QString &itemName ) {
298 QString itemStr = itemName.lower(); 303 QString itemStr = itemName.lower();
299 304
diff --git a/libopie2/opiepim/ui/opimmainwindow.h b/libopie2/opiepim/ui/opimmainwindow.h
index 9aa0ded..fa7a730 100644
--- a/libopie2/opiepim/ui/opimmainwindow.h
+++ b/libopie2/opiepim/ui/opimmainwindow.h
@@ -134,6 +134,7 @@ protected:
134 void setItemDeleteEnabled( bool enable ); 134 void setItemDeleteEnabled( bool enable );
135 void setItemBeamEnabled( bool enable ); 135 void setItemBeamEnabled( bool enable );
136 void setConfigureEnabled( bool enable ); 136 void setConfigureEnabled( bool enable );
137 void setShowCategories( bool show );
137 138
138private slots: 139private slots:
139 void appMessage( const QCString&, const QByteArray& ); 140 void appMessage( const QCString&, const QByteArray& );