-rw-r--r-- | libopie/ofileselector.h | 37 |
1 files changed, 29 insertions, 8 deletions
diff --git a/libopie/ofileselector.h b/libopie/ofileselector.h index 6936773..458e552 100644 --- a/libopie/ofileselector.h +++ b/libopie/ofileselector.h @@ -80,3 +80,3 @@ class OFileSelectorItem : public QListViewItem { } - bool locked() const{ + bool isLocked() const{ return mLocked; @@ -150,3 +150,3 @@ class OFileSelector : public QWidget { void setShowFiles(bool ); - + bool cd(const QString &path ); @@ -158,3 +158,3 @@ class OFileSelector : public QWidget { - void setPopupMenu( const QPopupMenu * ); + void setPopupMenu( QPopupMenu * ); @@ -193,3 +193,7 @@ class OFileSelector : public QWidget { void updateMimes(); - int m_mode, m_selector; + + protected: + + private: +int m_mode, m_selector; QComboBox *m_location, *m_mimeCheck, *m_viewCheck; @@ -214,2 +218,4 @@ class OFileSelector : public QWidget { + QPopupMenu *m_custom; + QLineEdit *m_edit; @@ -227,5 +233,2 @@ class OFileSelector : public QWidget { - protected: - - private: // implementation todo @@ -233,3 +236,3 @@ class OFileSelector : public QWidget { virtual void addDir( const QString &mime, QFileInfo *info , bool symlink = FALSE ); - virtual void addSymlink(const QString &mime, QFileInfo *info, bool broken = FALSE ){}; + virtual void addSymlink(const QString &, QFileInfo *, bool = FALSE ){}; void delItems(); @@ -245,2 +248,19 @@ class OFileSelector : public QWidget { static QMap<QString,QPixmap> *m_pixmaps; + +private slots: + void slotFileSelected(const QString & ); // not really meant to be a slot + void slotFileBridgeSelected( const DocLnk & ); + virtual void slotSelectionChanged(); + virtual void slotCurrentChanged(QListViewItem* ); + virtual void slotClicked( int, QListViewItem *item, const QPoint &, int); + virtual void slotRightButton(int, QListViewItem *, const QPoint &, int ); + virtual void slotContextMenu( QListViewItem *item); + // listview crap see above + // PopupMenu crap + virtual void slotChangedDir(); + virtual void slotOpen(); + virtual void slotRescan(); + virtual void slotRename(); + virtual void slotDelete(); + }; @@ -249 +269,2 @@ class OFileSelector : public QWidget { #endif + |