summaryrefslogtreecommitdiff
path: root/noncore/graphics/opie-eye/gui/mainwindow.cpp
Unidiff
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
@@ -5,12 +5,13 @@
5#include "mainwindow.h" 5#include "mainwindow.h"
6 6
7#include "iconview.h" 7#include "iconview.h"
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>
14 15
15#include <opie2/odebug.h> 16#include <opie2/odebug.h>
16#include <opie2/owidgetstack.h> 17#include <opie2/owidgetstack.h>
@@ -84,12 +85,16 @@ PMainWindow::PMainWindow(QWidget* wid, const char* name, WFlags style)
84 85
85 btn = new QToolButton( bar ); 86 btn = new QToolButton( bar );
86 btn->setIconSet( Resource::loadIconSet( "trash" ) ); 87 btn->setIconSet( Resource::loadIconSet( "trash" ) );
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() ),
93 this, SLOT(slotConfig() ) ); 98 this, SLOT(slotConfig() ) );
94 99
95 rotateButton = new QToolButton(bar); 100 rotateButton = new QToolButton(bar);