summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/gui/mainwindow.h
Unidiff
Diffstat (limited to 'noncore/graphics/opie-eye/gui/mainwindow.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/gui/mainwindow.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.h b/noncore/graphics/opie-eye/gui/mainwindow.h
index 703965b..5707568 100644
--- a/noncore/graphics/opie-eye/gui/mainwindow.h
+++ b/noncore/graphics/opie-eye/gui/mainwindow.h
@@ -57,51 +57,50 @@ public slots:
57 void slotToggleAutoscale(); 57 void slotToggleAutoscale();
58 void setDocument( const QString& ); 58 void setDocument( const QString& );
59 virtual void slotToggleFullScreen(); 59 virtual void slotToggleFullScreen();
60 virtual void slotFullScreenToggled(bool); 60 virtual void slotFullScreenToggled(bool);
61 61
62protected slots: 62protected slots:
63 void raiseIconView(); 63 void raiseIconView();
64 void closeEvent( QCloseEvent* ); 64 void closeEvent( QCloseEvent* );
65 void showToolbar(bool); 65 void showToolbar(bool);
66 void listviewselected(QAction*); 66 void listviewselected(QAction*);
67 void slotFullScreenButton(bool); 67 void slotFullScreenButton(bool);
68 68
69private: 69private:
70 template<class T> void initT( const char* name, T**, int ); 70 template<class T> void initT( const char* name, T**, int );
71 void initInfo(); 71 void initInfo();
72 void initDisp(); 72 void initDisp();
73 void setupViewWindow(bool full, bool forceDisplay); 73 void setupViewWindow(bool full, bool forceDisplay);
74 74
75private: 75private:
76 Opie::Core::OConfig *m_cfg; 76 Opie::Core::OConfig *m_cfg;
77 Opie::Ui::OWidgetStack *m_stack; 77 Opie::Ui::OWidgetStack *m_stack;
78 PIconView* m_view; 78 PIconView* m_view;
79 imageinfo *m_info; 79 imageinfo *m_info;
80 ImageView *m_disp; 80 ImageView *m_disp;
81 bool autoRotate; 81 bool autoSave;
82 bool autoScale;
83 bool zoomerOn;
84 QToolButton*fsButton; 82 QToolButton*fsButton;
85 QToolBar *toolBar; 83 QToolBar *toolBar;
86 QPopupMenu *fileMenu,*dispMenu,*fsMenu,*listviewMenu,*settingsMenu; 84 QPopupMenu *fileMenu,*dispMenu,*fsMenu,*listviewMenu,*settingsMenu;
87 QAction*m_aShowInfo,*m_aBeam,*m_aTrash,*m_aViewfile,*m_aDirUp,*m_aStartSlide; 85 QAction*m_aShowInfo,*m_aBeam,*m_aTrash,*m_aViewfile,*m_aDirUp,*m_aStartSlide;
88 QAction*m_aHideToolbar,*m_aSetup,*m_aDirName,*m_aDirShort,*m_aDirLong; 86 QAction*m_aHideToolbar,*m_aSetup,*m_aDirName,*m_aDirShort,*m_aDirLong;
89 QActionGroup *m_gListViewMode,*m_gDisplayType,*m_gPrevNext,*m_hGroup; 87 QActionGroup *m_gListViewMode,*m_gDisplayType,*m_gPrevNext,*m_hGroup;
90 QAction *m_aNext,*m_aPrevious,*m_aFullScreen; 88 QAction *m_aNext,*m_aPrevious,*m_aFullScreen;
91 QAction *m_aAutoRotate,*m_aAutoScale,*m_aZoomer; 89 QAction *m_aAutoRotate,*m_aUnscaled,*m_aZoomer;
92 90
93 /* init funs */ 91 /* init funs */
92 void readConfig();
94 void setupActions(); 93 void setupActions();
95 void setupToolbar(); 94 void setupToolbar();
96 void setupMenu(); 95 void setupMenu();
97 /* for the device submenu - ToDo: Merge with the special button */ 96 /* for the device submenu - ToDo: Merge with the special button */
98 StorageInfo *m_storage; 97 StorageInfo *m_storage;
99 QMap<QString, QString> m_dev; 98 QMap<QString, QString> m_dev;
100 99
101private slots: 100private slots:
102 void slotConfig(); 101 void slotConfig();
103 void slotSelectDir(int); 102 void slotSelectDir(int);
104 void dirChanged(); 103 void dirChanged();
105}; 104};
106 105
107#endif 106#endif