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.cpp | 5 |
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 @@ | |||
8 | #include "filesystem.h" | 8 | #include "filesystem.h" |
9 | #include "imageinfoui.h" | 9 | #include "imageinfoui.h" |
10 | #include "imageview.h" | 10 | #include "imageview.h" |
11 | #include "viewmodebutton.h" | ||
11 | 12 | ||
12 | #include <iface/ifaceinfo.h> | 13 | #include <iface/ifaceinfo.h> |
13 | #include <iface/dirview.h> | 14 | #include <iface/dirview.h> |
@@ -87,6 +88,10 @@ PMainWindow::PMainWindow(QWidget* wid, const char* name, WFlags style) | |||
87 | connect( btn, SIGNAL(clicked() ), | 88 | connect( btn, SIGNAL(clicked() ), |
88 | m_view, SLOT(slotTrash() ) ); | 89 | m_view, SLOT(slotTrash() ) ); |
89 | 90 | ||
91 | btn = new ViewModeButton( bar ); | ||
92 | connect( btn, SIGNAL(changeMode(int)), | ||
93 | m_view, SLOT(slotChangeMode(int))); | ||
94 | |||
90 | btn = new QToolButton( bar ); | 95 | btn = new QToolButton( bar ); |
91 | btn->setIconSet( Resource::loadIconSet( "SettingsIcon" ) ); | 96 | btn->setIconSet( Resource::loadIconSet( "SettingsIcon" ) ); |
92 | connect( btn, SIGNAL(clicked() ), | 97 | connect( btn, SIGNAL(clicked() ), |