author | simon <simon> | 2002-04-30 14:24:50 (UTC) |
---|---|---|
committer | simon <simon> | 2002-04-30 14:24:50 (UTC) |
commit | 3c1b87ffa621f872c72228733a078511e56d2daf (patch) (unidiff) | |
tree | 7f31bf8b03abbb30765d764c1271902a1f3ac584 | |
parent | e4a316c10ee1a6a1514db1e3883d1e97d80ed356 (diff) | |
download | opie-3c1b87ffa621f872c72228733a078511e56d2daf.zip opie-3c1b87ffa621f872c72228733a078511e56d2daf.tar.gz opie-3c1b87ffa621f872c72228733a078511e56d2daf.tar.bz2 |
- no default args in method impl
-rw-r--r-- | noncore/multimedia/showimg/showimg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/showimg/showimg.cpp b/noncore/multimedia/showimg/showimg.cpp index c56994d..7c43e11 100644 --- a/noncore/multimedia/showimg/showimg.cpp +++ b/noncore/multimedia/showimg/showimg.cpp | |||
@@ -22,49 +22,49 @@ | |||
22 | // Full-screen and rotation options contributed by Robert Wittams <robert@wittams.com> | 22 | // Full-screen and rotation options contributed by Robert Wittams <robert@wittams.com> |
23 | // | 23 | // |
24 | 24 | ||
25 | #include "showimg.h" | 25 | #include "showimg.h" |
26 | 26 | ||
27 | #include <qpe/resource.h> | 27 | #include <qpe/resource.h> |
28 | #include <qpe/fileselector.h> | 28 | #include <qpe/fileselector.h> |
29 | #include <qpe/applnk.h> | 29 | #include <qpe/applnk.h> |
30 | 30 | ||
31 | #include <qpe/qpemenubar.h> | 31 | #include <qpe/qpemenubar.h> |
32 | #include <qwidgetstack.h> | 32 | #include <qwidgetstack.h> |
33 | #include <qpe/qpetoolbar.h> | 33 | #include <qpe/qpetoolbar.h> |
34 | #include <qaction.h> | 34 | #include <qaction.h> |
35 | #include <qfiledialog.h> | 35 | #include <qfiledialog.h> |
36 | #include <qmessagebox.h> | 36 | #include <qmessagebox.h> |
37 | #include <qpopupmenu.h> | 37 | #include <qpopupmenu.h> |
38 | #include <qlabel.h> | 38 | #include <qlabel.h> |
39 | #include <qpainter.h> | 39 | #include <qpainter.h> |
40 | #include <qkeycode.h> | 40 | #include <qkeycode.h> |
41 | #include <qapplication.h> | 41 | #include <qapplication.h> |
42 | #include <qclipboard.h> | 42 | #include <qclipboard.h> |
43 | #include <qtimer.h> | 43 | #include <qtimer.h> |
44 | 44 | ||
45 | 45 | ||
46 | ImagePane::ImagePane( QWidget *parent=0 ) : QWidget( parent ) | 46 | ImagePane::ImagePane( QWidget *parent ) : QWidget( parent ) |
47 | { | 47 | { |
48 | vb = new QVBoxLayout( this ); | 48 | vb = new QVBoxLayout( this ); |
49 | 49 | ||
50 | image = new ImageWidget( this ); | 50 | image = new ImageWidget( this ); |
51 | connect(image, SIGNAL( clicked() ), this, SLOT( imageClicked() )); | 51 | connect(image, SIGNAL( clicked() ), this, SLOT( imageClicked() )); |
52 | 52 | ||
53 | vb->addWidget( image ); | 53 | vb->addWidget( image ); |
54 | 54 | ||
55 | status = new QLabel( this ); | 55 | status = new QLabel( this ); |
56 | status->setFixedHeight( fontMetrics().height() + 4 ); | 56 | status->setFixedHeight( fontMetrics().height() + 4 ); |
57 | vb->addWidget( status ); | 57 | vb->addWidget( status ); |
58 | } | 58 | } |
59 | 59 | ||
60 | void ImagePane::setPixmap( const QPixmap &pm ) | 60 | void ImagePane::setPixmap( const QPixmap &pm ) |
61 | { | 61 | { |
62 | image->setPixmap( pm ); | 62 | image->setPixmap( pm ); |
63 | image->repaint( false ); | 63 | image->repaint( false ); |
64 | } | 64 | } |
65 | 65 | ||
66 | void ImagePane::imageClicked() | 66 | void ImagePane::imageClicked() |
67 | { | 67 | { |
68 | emit clicked(); | 68 | emit clicked(); |
69 | } | 69 | } |
70 | 70 | ||