-rw-r--r-- | libopie/ofileselector.cc | 4 | ||||
-rw-r--r-- | libopie/ofileview.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libopie/ofileselector.cc b/libopie/ofileselector.cc index 0e508af..9cf3f36 100644 --- a/libopie/ofileselector.cc +++ b/libopie/ofileselector.cc | |||
@@ -888,13 +888,13 @@ void OFileSelector::addFile(const QString &mime, QFileInfo *info, bool symlink ) | |||
888 | new OFileSelectorItem( m_View, pix, name, | 888 | new OFileSelectorItem( m_View, pix, name, |
889 | info->lastModified().toString(), | 889 | info->lastModified().toString(), |
890 | QString::number( info->size() ), | 890 | QString::number( info->size() ), |
891 | dir, locked ); | 891 | dir, locked ); |
892 | } | 892 | } |
893 | 893 | ||
894 | void OFileSelector::addDir(const QString &mime, QFileInfo *info, bool symlink ) | 894 | void OFileSelector::addDir(const QString &/*mime*/, QFileInfo *info, bool symlink ) |
895 | { | 895 | { |
896 | if(!m_dir ) | 896 | if(!m_dir ) |
897 | return; | 897 | return; |
898 | //if( showDirs ) | 898 | //if( showDirs ) |
899 | { | 899 | { |
900 | bool locked=false; | 900 | bool locked=false; |
@@ -974,13 +974,13 @@ void OFileSelector::slotCurrentChanged(QListViewItem *item ) | |||
974 | }else { | 974 | }else { |
975 | qWarning("mode not extended" ); | 975 | qWarning("mode not extended" ); |
976 | } | 976 | } |
977 | } | 977 | } |
978 | 978 | ||
979 | // either select or change dir | 979 | // either select or change dir |
980 | void OFileSelector::slotClicked( int button, QListViewItem *item, const QPoint &point, int ) | 980 | void OFileSelector::slotClicked( int button, QListViewItem *item, const QPoint &/*point*/, int ) |
981 | { | 981 | { |
982 | if( item == 0 ) | 982 | if( item == 0 ) |
983 | return; | 983 | return; |
984 | 984 | ||
985 | if( button != Qt::LeftButton ) | 985 | if( button != Qt::LeftButton ) |
986 | return; | 986 | return; |
diff --git a/libopie/ofileview.h b/libopie/ofileview.h index 48a71ca..ed256f1 100644 --- a/libopie/ofileview.h +++ b/libopie/ofileview.h | |||
@@ -39,13 +39,13 @@ class OFileSelectorView : public QWidget { | |||
39 | Q_OBJECT | 39 | Q_OBJECT |
40 | public: | 40 | public: |
41 | OFileSelectorView(QWidget *widget, | 41 | OFileSelectorView(QWidget *widget, |
42 | const char *name ) | 42 | const char *name ) |
43 | : QWidget(widget, name ) | 43 | : QWidget(widget, name ) |
44 | { }; | 44 | { }; |
45 | virtual ~OFileSelectorView(); | 45 | virtual ~OFileSelectorView() = 0; |
46 | 46 | ||
47 | virtual void addFile(const QString &mine, | 47 | virtual void addFile(const QString &mine, |
48 | QFileInfo *info, | 48 | QFileInfo *info, |
49 | bool isSymlink = FALSE ) = 0; | 49 | bool isSymlink = FALSE ) = 0; |
50 | 50 | ||
51 | virtual void addDir (const QString &mine, | 51 | virtual void addDir (const QString &mine, |
@@ -53,26 +53,26 @@ class OFileSelectorView : public QWidget { | |||
53 | bool isSymlink = FALSE ) = 0; | 53 | bool isSymlink = FALSE ) = 0; |
54 | 54 | ||
55 | virtual void addSymlink(const QString &mime, | 55 | virtual void addSymlink(const QString &mime, |
56 | QFileInfo *info, | 56 | QFileInfo *info, |
57 | bool isSymlink = FALSE ) = 0; | 57 | bool isSymlink = FALSE ) = 0; |
58 | 58 | ||
59 | virtual void cd(const QString &path ); | 59 | virtual void cd(const QString &path ) = 0; |
60 | signals: | 60 | signals: |
61 | void fileSelected(const QString &); | 61 | void fileSelected(const QString &); |
62 | void fileSelected(const DocLnk & ); | 62 | void fileSelected(const DocLnk & ); |
63 | void contextMenu(); | 63 | void contextMenu(); |
64 | void changedDir(const QString &); | 64 | void changedDir(const QString &); |
65 | void changedDir(const QDir & ); | 65 | void changedDir(const QDir & ); |
66 | }; | 66 | }; |
67 | 67 | ||
68 | class OFileViewFactory { | 68 | class OFileViewFactory { |
69 | // Q_OBJECT | 69 | // Q_OBJECT |
70 | public: | 70 | public: |
71 | OFileViewFactory() {} ; | 71 | OFileViewFactory() {} ; |
72 | virtual ~OFileViewFactory(); | 72 | virtual ~OFileViewFactory() = 0; |
73 | 73 | ||
74 | OFileSelectorView* newView(QWidget *parent, const char *name ); | 74 | OFileSelectorView* newView(QWidget *parent, const char *name ); |
75 | QString name()const; | 75 | QString name()const; |
76 | }; | 76 | }; |
77 | 77 | ||
78 | 78 | ||