summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/gui/mainwindow.cpp
authorzecke <zecke>2004-04-13 22:21:20 (UTC)
committer zecke <zecke>2004-04-13 22:21:20 (UTC)
commit79558e549b0ce1fa17fe79fc437859d137ad821f (patch) (side-by-side diff)
treef8a504778d5a95abaed9f1cf3e451e31c94c5681 /noncore/graphics/opie-eye/gui/mainwindow.cpp
parente61f3d63c310e4e560bc38f41c1390f246b5f670 (diff)
downloadopie-79558e549b0ce1fa17fe79fc437859d137ad821f.zip
opie-79558e549b0ce1fa17fe79fc437859d137ad821f.tar.gz
opie-79558e549b0ce1fa17fe79fc437859d137ad821f.tar.bz2
First bits of different IconView Views
Diffstat (limited to 'noncore/graphics/opie-eye/gui/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/gui/mainwindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.cpp b/noncore/graphics/opie-eye/gui/mainwindow.cpp
index ef23f79..dd9cced 100644
--- a/noncore/graphics/opie-eye/gui/mainwindow.cpp
+++ b/noncore/graphics/opie-eye/gui/mainwindow.cpp
@@ -8,6 +8,7 @@
#include "filesystem.h"
#include "imageinfoui.h"
#include "imageview.h"
+#include "viewmodebutton.h"
#include <iface/ifaceinfo.h>
#include <iface/dirview.h>
@@ -87,6 +88,10 @@ PMainWindow::PMainWindow(QWidget* wid, const char* name, WFlags style)
connect( btn, SIGNAL(clicked() ),
m_view, SLOT(slotTrash() ) );
+ btn = new ViewModeButton( bar );
+ connect( btn, SIGNAL(changeMode(int)),
+ m_view, SLOT(slotChangeMode(int)));
+
btn = new QToolButton( bar );
btn->setIconSet( Resource::loadIconSet( "SettingsIcon" ) );
connect( btn, SIGNAL(clicked() ),