-rw-r--r-- | library/fileselector.h | 32 |
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 @@ -24,4 +24,4 @@ #include <qvbox.h> -#include <qlistview.h> #include <qtoolbutton.h> +#include <qlistview.h> @@ -32,2 +32,3 @@ class QPopupMenu; class QPushButton; +class FileSelectorView; @@ -45,30 +46,2 @@ private: -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; @@ -83,3 +56,2 @@ public: void setCloseVisible( bool b ); - void setCategoriesVisible( bool b ); void reread(); |