summaryrefslogtreecommitdiff
path: root/library/fileselector.h
Side-by-side diff
Diffstat (limited to 'library/fileselector.h') (more/less context) (show whitespace changes)
-rw-r--r--library/fileselector.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/fileselector.h b/library/fileselector.h
index f1c9eb1..e3ae891 100644
--- a/library/fileselector.h
+++ b/library/fileselector.h
@@ -45,24 +45,26 @@ private:
};
class FileSelectorPrivate;
class FileSelector : public QVBox
{
Q_OBJECT
public:
FileSelector( const QString &mimefilter, QWidget *parent, const char *name=0, bool newVisible = TRUE, bool closeVisible = TRUE );
~FileSelector();
void setNewVisible( bool b );
void setCloseVisible( bool b );
+ void setTypeComboVisible( bool b = TRUE );
+ void setCategorySelectVisible( bool b = TRUE );
void reread();
int fileCount();
DocLnk selectedDocument() const
{
const DocLnk* rp = ((FileSelector*)this)->selected();
if (!rp) {
DocLnk r;
return r;
}
DocLnk r(*rp);
delete rp;
return r;