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 @@ -9,5 +9,4 @@ #include <qvbox.h> -#include <qpe/config.h> class QIconView; @@ -17,13 +16,28 @@ class PIconViewItem; class PDirLister; class Ir; + +namespace Opie { +namespace Core{ + class OConfig; +} +namespace Ui { + class OKeyConfigManager; +} +} + class PIconView : public QVBox { Q_OBJECT 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; void loadViews(); @@ -39,4 +53,9 @@ private slots: void slotBeamDone( Ir* ); + void slotShowImage(); + void slotShowImage( const QString& ); + void slotImageInfo(); + void slotImageInfo( const QString& ); + void slotStart(); void slotEnd(); @@ -51,5 +70,6 @@ private slots: void slotThumbNail(const QString&, const QPixmap&); private: - Config *m_cfg; + Opie::Ui::OKeyConfigManager *m_viewManager; + Opie::Core::OConfig *m_cfg; QComboBox* m_views; QIconView* m_view; |