author | zecke <zecke> | 2002-04-27 23:12:20 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-04-27 23:12:20 (UTC) |
commit | a64cc0ad0574ae1e15c4965d2557c3e06cc3fd65 (patch) (side-by-side diff) | |
tree | 80a622e1e82e46a24dc5968b7b89180d4420476c | |
parent | db95cde435e507833f58111237f86cb9f9ac927a (diff) | |
download | opie-a64cc0ad0574ae1e15c4965d2557c3e06cc3fd65.zip opie-a64cc0ad0574ae1e15c4965d2557c3e06cc3fd65.tar.gz opie-a64cc0ad0574ae1e15c4965d2557c3e06cc3fd65.tar.bz2 |
compile it for Max
-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 @@ -886,17 +886,17 @@ void OFileSelector::addFile(const QString &mime, QFileInfo *info, bool symlink ) } } new OFileSelectorItem( m_View, pix, name, info->lastModified().toString(), QString::number( info->size() ), dir, locked ); } -void OFileSelector::addDir(const QString &mime, QFileInfo *info, bool symlink ) +void OFileSelector::addDir(const QString &/*mime*/, QFileInfo *info, bool symlink ) { if(!m_dir ) return; //if( showDirs ) { bool locked=false; QString name; QPixmap pix; @@ -972,17 +972,17 @@ void OFileSelector::slotCurrentChanged(QListViewItem *item ) } } }else { qWarning("mode not extended" ); } } // 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 ) return; if( button != Qt::LeftButton ) return; // qWarning("clicked" ); diff --git a/libopie/ofileview.h b/libopie/ofileview.h index 48a71ca..ed256f1 100644 --- a/libopie/ofileview.h +++ b/libopie/ofileview.h @@ -37,43 +37,43 @@ class QDir; class DocLnk; class OFileSelectorView : public QWidget { Q_OBJECT public: OFileSelectorView(QWidget *widget, const char *name ) : QWidget(widget, name ) { }; - virtual ~OFileSelectorView(); + virtual ~OFileSelectorView() = 0; virtual void addFile(const QString &mine, QFileInfo *info, bool isSymlink = FALSE ) = 0; virtual void addDir (const QString &mine, QFileInfo *info, bool isSymlink = FALSE ) = 0; virtual void addSymlink(const QString &mime, QFileInfo *info, bool isSymlink = FALSE ) = 0; - virtual void cd(const QString &path ); + virtual void cd(const QString &path ) = 0; signals: void fileSelected(const QString &); void fileSelected(const DocLnk & ); void contextMenu(); void changedDir(const QString &); void changedDir(const QDir & ); }; class OFileViewFactory { // Q_OBJECT public: OFileViewFactory() {} ; - virtual ~OFileViewFactory(); + virtual ~OFileViewFactory() = 0; OFileSelectorView* newView(QWidget *parent, const char *name ); QString name()const; }; #endif |