Diffstat (limited to 'noncore/graphics/opie-eye/gui/iconview.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/iconview.h | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/noncore/graphics/opie-eye/gui/iconview.h b/noncore/graphics/opie-eye/gui/iconview.h index 439833a..0fba327 100644 --- a/noncore/graphics/opie-eye/gui/iconview.h +++ b/noncore/graphics/opie-eye/gui/iconview.h @@ -10,3 +10,2 @@ -#include <qpe/config.h> @@ -18,2 +17,12 @@ class PDirLister; class Ir; + +namespace Opie { +namespace Core{ + class OConfig; +} +namespace Ui { + class OKeyConfigManager; +} +} + class PIconView : public QVBox { @@ -21,8 +30,13 @@ class PIconView : public QVBox { friend class PIconViewItem; + enum ActionIds { + BeamItem, DeleteItem, ViewItem, InfoItem + }; public: - PIconView( QWidget* wid, Config *cfg ); + PIconView( QWidget* wid, Opie::Core::OConfig *cfg ); ~PIconView(); void resetView(); + Opie::Ui::OKeyConfigManager* manager(); private: + void initKeys(); QString currentFileName(bool &isDir)const; @@ -40,2 +54,7 @@ private slots: + void slotShowImage(); + void slotShowImage( const QString& ); + void slotImageInfo(); + void slotImageInfo( const QString& ); + void slotStart(); @@ -52,3 +71,4 @@ private slots: private: - Config *m_cfg; + Opie::Ui::OKeyConfigManager *m_viewManager; + Opie::Core::OConfig *m_cfg; QComboBox* m_views; |