summaryrefslogtreecommitdiff
authoralwin <alwin>2004-04-06 23:53:34 (UTC)
committer alwin <alwin>2004-04-06 23:53:34 (UTC)
commit5cab9e2717383faaebb44cbb57df5badc3056206 (patch) (side-by-side diff)
tree6a46f26ec6c522c7fb77b1adecc6007750908f4b
parentec7b97a772173992aa2f781eba3fbcd76fd71789 (diff)
downloadopie-5cab9e2717383faaebb44cbb57df5badc3056206.zip
opie-5cab9e2717383faaebb44cbb57df5badc3056206.tar.gz
opie-5cab9e2717383faaebb44cbb57df5badc3056206.tar.bz2
made methods virtual, implement a sig_return signal
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/gui/imageinfoui.cpp2
-rw-r--r--noncore/graphics/opie-eye/gui/imageinfoui.h7
2 files changed, 5 insertions, 4 deletions
diff --git a/noncore/graphics/opie-eye/gui/imageinfoui.cpp b/noncore/graphics/opie-eye/gui/imageinfoui.cpp
index 039dfa3..d56d65a 100644
--- a/noncore/graphics/opie-eye/gui/imageinfoui.cpp
+++ b/noncore/graphics/opie-eye/gui/imageinfoui.cpp
@@ -63,7 +63,7 @@ void imageinfo::initKeys()
lst.append( Opie::Ui::OKeyPair::downArrowKey() );
lst.append( Opie::Ui::OKeyPair::leftArrowKey() );
lst.append( Opie::Ui::OKeyPair::rightArrowKey() );
-// lst.append( Opie::Ui::OKeyPair::returnKey() );
+ lst.append( Opie::Ui::OKeyPair::returnKey() );
m_viewManager = new Opie::Ui::OKeyConfigManager(m_cfg, "Imageinfo-KeyBoard-Config",
lst, false,this, "keyconfig name" );
diff --git a/noncore/graphics/opie-eye/gui/imageinfoui.h b/noncore/graphics/opie-eye/gui/imageinfoui.h
index 0a5e183..0ffa423 100644
--- a/noncore/graphics/opie-eye/gui/imageinfoui.h
+++ b/noncore/graphics/opie-eye/gui/imageinfoui.h
@@ -31,17 +31,18 @@ class imageinfo : public QWidget
public:
imageinfo( QWidget* parent = 0, const char* name = 0, WFlags fl =0);
imageinfo(const QString&_path, QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
- ~imageinfo();
+ virtual ~imageinfo();
void setDestructiveClose();
Opie::Ui::OKeyConfigManager* manager();
signals:
void dispImage(const QString&);
+ void sig_return();
public slots:
- void setPath( const QString& path );
- void slotShowImage();
+ virtual void setPath( const QString& path );
+ virtual void slotShowImage();
private:
void init(const char* name);