summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/fileselector.cpp20
-rw-r--r--library/fileselector.h2
2 files changed, 22 insertions, 0 deletions
diff --git a/library/fileselector.cpp b/library/fileselector.cpp
index 382012f..7ff09b4 100644
--- a/library/fileselector.cpp
+++ b/library/fileselector.cpp
@@ -322,2 +322,3 @@ FileSelector::FileSelector( const QString &f, QWidget *parent, const char *name,
QHBox *hb = new QHBox( this );
+
d->typeCombo = new TypeCombo( hb );
@@ -498,2 +499,21 @@ void FileSelector::setCloseVisible( bool b )
/*!
+
+*/
+void FileSelector::setTypeComboVisible( bool b ) {
+ if ( b )
+ d->typeCombo->show();
+ else
+ d->typeCombo->hide();
+}
+/*!
+
+*/
+void FileSelector::setCategorySelectVisible( bool b ) {
+ if ( b )
+ d->catSelect->show();
+ else
+ d->catSelect->hide();
+}
+
+/*!
Rereads the list of documents.
diff --git a/library/fileselector.h b/library/fileselector.h
index f1c9eb1..e3ae891 100644
--- a/library/fileselector.h
+++ b/library/fileselector.h
@@ -56,2 +56,4 @@ public:
void setCloseVisible( bool b );
+ void setTypeComboVisible( bool b = TRUE );
+ void setCategorySelectVisible( bool b = TRUE );
void reread();