Index: krusader/Panel/krbriefview.h ================================================================================ --- krusader/Panel/krbriefview.h +++ krusader/Panel/krbriefview.h @@ -19,7 +19,7 @@ virtual KrViewItem *getKrViewItemAt(const QPoint &vp); virtual inline KrViewItem *findItemByName(const QString &name) { return dynamic_cast( findItem( name, Qt::ExactMatch ) ); } virtual void addItems(vfs* v, bool addUpDir = true) {} - virtual KrViewItem *addItem(vfile *vf) {} + virtual KrViewItem *addItem(vfile *vf) = 0; virtual void delItem(const QString &name) {} virtual void updateItem(vfile *vf) {} virtual QString getCurrentItem() const; @@ -33,15 +33,15 @@ virtual void restoreSettings() {} virtual void prepareForActive() {} virtual void prepareForPassive() {} - virtual QString nameInKConfig() {} + virtual QString nameInKConfig() = 0; virtual void renameCurrentItem() {} protected: virtual void setup(); virtual void initProperties(); virtual void initOperator(); - virtual KrViewItem *preAddItem(vfile *vf) {} - virtual bool preDelItem(KrViewItem *item) {} + virtual KrViewItem *preAddItem(vfile *vf) = 0; + virtual bool preDelItem(KrViewItem *item) = 0; signals: --- krusader/VFS/vfs.h +++ krusader/VFS/vfs.h @@ -134,7 +134,7 @@ protected: /// Feel the vfs dictionary with vfiles, must be implemented for each vfs - virtual bool populateVfsList(const KURL& origin, bool showHidden) = 0L; + virtual bool populateVfsList(const KURL& origin, bool showHidden) = 0; /// Set the vfile list pointer void setVfsFilesP(vfileDict* dict); /// clear and delete all current vfiles