summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/ofileselector.cc4
-rw-r--r--libopie/ofileview.h6
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
@@ -892,5 +892,5 @@ void OFileSelector::addFile(const QString &mime, QFileInfo *info, bool symlink )
}
-void OFileSelector::addDir(const QString &mime, QFileInfo *info, bool symlink )
+void OFileSelector::addDir(const QString &/*mime*/, QFileInfo *info, bool symlink )
{
if(!m_dir )
@@ -978,5 +978,5 @@ void OFileSelector::slotCurrentChanged(QListViewItem *item )
// either select or change dir
-void OFileSelector::slotClicked( int button, QListViewItem *item, const QPoint &point, int )
+void OFileSelector::slotClicked( int button, QListViewItem *item, const QPoint &/*point*/, int )
{
if( item == 0 )
diff --git a/libopie/ofileview.h b/libopie/ofileview.h
index 48a71ca..ed256f1 100644
--- a/libopie/ofileview.h
+++ b/libopie/ofileview.h
@@ -43,5 +43,5 @@ class OFileSelectorView : public QWidget {
: QWidget(widget, name )
{ };
- virtual ~OFileSelectorView();
+ virtual ~OFileSelectorView() = 0;
virtual void addFile(const QString &mine,
@@ -57,5 +57,5 @@ class OFileSelectorView : public QWidget {
bool isSymlink = FALSE ) = 0;
- virtual void cd(const QString &path );
+ virtual void cd(const QString &path ) = 0;
signals:
void fileSelected(const QString &);
@@ -70,5 +70,5 @@ class OFileViewFactory {
public:
OFileViewFactory() {} ;
- virtual ~OFileViewFactory();
+ virtual ~OFileViewFactory() = 0;
OFileSelectorView* newView(QWidget *parent, const char *name );