author | drw <drw> | 2005-02-07 20:32:21 (UTC) |
---|---|---|
committer | drw <drw> | 2005-02-07 20:32:21 (UTC) |
commit | aeda5d05178f635c05ce4556e3a0b7f9be7d6401 (patch) (unidiff) | |
tree | fd7dffb1ce16c02e80396294ac100cf0522c9bfe | |
parent | ed8328723ff32caee7db4064a0436703623a2de2 (diff) | |
download | opie-aeda5d05178f635c05ce4556e3a0b7f9be7d6401.zip opie-aeda5d05178f635c05ce4556e3a0b7f9be7d6401.tar.gz opie-aeda5d05178f635c05ce4556e3a0b7f9be7d6401.tar.bz2 |
Minor addition
-rw-r--r-- | libopie2/opiepim/ui/opimmainwindow.cpp | 5 | ||||
-rw-r--r-- | libopie2/opiepim/ui/opimmainwindow.h | 1 |
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 | ||
297 | void OPimMainWindow::setShowCategories( bool show ) { | ||
298 | show ? m_catSelect->show() | ||
299 | : m_catSelect->hide(); | ||
300 | } | ||
301 | |||
297 | void OPimMainWindow::initBars( const QString &itemName ) { | 302 | void 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 | ||
138 | private slots: | 139 | private slots: |
139 | void appMessage( const QCString&, const QByteArray& ); | 140 | void appMessage( const QCString&, const QByteArray& ); |