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 | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/noncore/graphics/opie-eye/gui/mainwindow.cpp b/noncore/graphics/opie-eye/gui/mainwindow.cpp index 88acd59..5e94f93 100644 --- a/noncore/graphics/opie-eye/gui/mainwindow.cpp +++ b/noncore/graphics/opie-eye/gui/mainwindow.cpp | |||
@@ -20,3 +20,2 @@ | |||
20 | 20 | ||
21 | |||
22 | #include <qpe/resource.h> | 21 | #include <qpe/resource.h> |
@@ -35,3 +34,3 @@ | |||
35 | 34 | ||
36 | OPIE_EXPORT_APP( Opie::Core::OApplicationFactory<PMainWindow> ) | 35 | OPIE_EXPORT_APP_V2( Opie::Core::OApplicationFactory<PMainWindow>,"Opie Eye" ) |
37 | 36 | ||
@@ -43,4 +42,3 @@ PMainWindow::PMainWindow(QWidget* wid, const char* name, WFlags style) | |||
43 | m_cfg->setGroup("Zecke_view" ); | 42 | m_cfg->setGroup("Zecke_view" ); |
44 | 43 | // qDebug( "Process-wide OApplication object @ %0x", oApp ); | |
45 | |||
46 | /* | 44 | /* |
@@ -94,3 +92,3 @@ PMainWindow::PMainWindow(QWidget* wid, const char* name, WFlags style) | |||
94 | this, SLOT(slotConfig() ) ); | 92 | this, SLOT(slotConfig() ) ); |
95 | 93 | ||
96 | rotateButton = new QToolButton(bar); | 94 | rotateButton = new QToolButton(bar); |
@@ -166,2 +164,6 @@ void PMainWindow::slotConfig() { | |||
166 | keyWid->insert( tr("Browser Keyboard Actions"), m_view->manager() ); | 164 | keyWid->insert( tr("Browser Keyboard Actions"), m_view->manager() ); |
165 | if ( !m_info ) { | ||
166 | initInfo(); | ||
167 | } | ||
168 | keyWid->insert( tr("Imageinfo Keyboard Actions"), m_info->manager() ); | ||
167 | keyWid->load(); | 169 | keyWid->load(); |
@@ -212,2 +214,3 @@ void PMainWindow::initInfo() { | |||
212 | initT<imageinfo>( "Image Info", &m_info, ImageInfo ); | 214 | initT<imageinfo>( "Image Info", &m_info, ImageInfo ); |
215 | connect(m_info,SIGNAL(dispImage(const QString&)),this,SLOT(slotDisplay(const QString&))); | ||
213 | } | 216 | } |
@@ -231,4 +234,5 @@ void PMainWindow::initDisp() { | |||
231 | void PMainWindow::slotShowInfo( const QString& inf ) { | 234 | void PMainWindow::slotShowInfo( const QString& inf ) { |
232 | if ( !m_info ) | 235 | if ( !m_info ) { |
233 | initInfo(); | 236 | initInfo(); |
237 | } | ||
234 | m_info->setPath( inf ); | 238 | m_info->setPath( inf ); |