summaryrefslogtreecommitdiff
path: root/library/fileselector.h
Side-by-side diff
Diffstat (limited to 'library/fileselector.h') (more/less context) (ignore whitespace changes)
-rw-r--r--library/fileselector.h32
1 files changed, 2 insertions, 30 deletions
diff --git a/library/fileselector.h b/library/fileselector.h
index ef8efea..8cfdf13 100644
--- a/library/fileselector.h
+++ b/library/fileselector.h
@@ -21,16 +21,17 @@
#define FILESELECTOR_H
#include <qhbox.h>
#include <qvbox.h>
-#include <qlistview.h>
#include <qtoolbutton.h>
+#include <qlistview.h>
#include "filemanager.h"
#include "applnk.h"
class QPopupMenu;
class QPushButton;
+class FileSelectorView;
class FileSelectorItem : public QListViewItem
{
public:
@@ -42,36 +43,8 @@ public:
private:
DocLnk fl;
};
-class CategoryMenu;
-class FileSelectorViewPrivate;
-class FileSelectorView : public QListView
-{
- Q_OBJECT
-
-public:
- FileSelectorView( const QString &mimefilter, QWidget *parent, const char *name );
- ~FileSelectorView();
- void reread();
- int fileCount() { return count; }
-
- void setCategoryFilter(CategoryMenu *);
-protected:
- void keyPressEvent( QKeyEvent *e );
-
-protected slots:
- void cardMessage( const QCString &, const QByteArray &);
-
- void categoryChanged();
-
-private:
- QString filter;
- FileManager *fileManager;
- int count;
- FileSelectorViewPrivate *d;
-};
-
class FileSelectorPrivate;
class FileSelector : public QVBox
{
Q_OBJECT
@@ -80,9 +53,8 @@ public:
FileSelector( const QString &mimefilter, QWidget *parent, const char *name, bool newVisible = TRUE, bool closeVisible = TRUE );
~FileSelector();
void setNewVisible( bool b );
void setCloseVisible( bool b );
- void setCategoriesVisible( bool b );
void reread();
int fileCount();
const DocLnk *selected();