author | mickeyl <mickeyl> | 2004-08-24 22:03:14 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-08-24 22:03:14 (UTC) |
commit | bc5cab6c01856b89c8b407fe7cccdb52cfcb5697 (patch) (unidiff) | |
tree | ccae965c22eed8e2e6bdfc8043b3977907a07398 /core/applets/aboutapplet/about.cpp | |
parent | 73253e93327cf4ef0932de1b4afb56af22a0f37e (diff) | |
download | opie-bc5cab6c01856b89c8b407fe7cccdb52cfcb5697.zip opie-bc5cab6c01856b89c8b407fe7cccdb52cfcb5697.tar.gz opie-bc5cab6c01856b89c8b407fe7cccdb52cfcb5697.tar.bz2 |
- tweak version preparing the next release
- add eilers
- show fullscreen on small screens
Diffstat (limited to 'core/applets/aboutapplet/about.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/aboutapplet/about.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/applets/aboutapplet/about.cpp b/core/applets/aboutapplet/about.cpp index bbdc1b1..3952d0a 100644 --- a/core/applets/aboutapplet/about.cpp +++ b/core/applets/aboutapplet/about.cpp | |||
@@ -1,15 +1,16 @@ | |||
1 | #include "about.h" | 1 | #include "about.h" |
2 | #include "dialog.h" | 2 | #include "dialog.h" |
3 | 3 | ||
4 | #include <qpe/qpeapplication.h> | ||
4 | #include <qpe/resource.h> | 5 | #include <qpe/resource.h> |
5 | #include <qpe/qcopenvelope_qws.h> | 6 | #include <qpe/qcopenvelope_qws.h> |
6 | 7 | ||
7 | #include <qapplication.h> | 8 | #include <qapplication.h> |
8 | #include <qlabel.h> | 9 | #include <qlabel.h> |
9 | 10 | ||
10 | AboutApplet::AboutApplet ( ) | 11 | AboutApplet::AboutApplet ( ) |
11 | : QObject ( 0, "AboutApplet" ) | 12 | : QObject ( 0, "AboutApplet" ) |
12 | {} | 13 | {} |
13 | 14 | ||
14 | AboutApplet::~AboutApplet ( ) | 15 | AboutApplet::~AboutApplet ( ) |
15 | {} | 16 | {} |
@@ -51,26 +52,25 @@ QIconSet AboutApplet::icon ( ) const | |||
51 | 52 | ||
52 | QPopupMenu *AboutApplet::popup ( QWidget * ) const | 53 | QPopupMenu *AboutApplet::popup ( QWidget * ) const |
53 | { | 54 | { |
54 | return 0; | 55 | return 0; |
55 | } | 56 | } |
56 | 57 | ||
57 | void AboutApplet::activated() | 58 | void AboutApplet::activated() |
58 | { | 59 | { |
59 | AboutDialog* d = new AboutDialog( qApp->mainWidget(), "aboutDialog", true ); | 60 | AboutDialog* d = new AboutDialog( qApp->mainWidget(), "aboutDialog", true ); |
60 | if ( qApp->desktop()->width() == 240 ) | 61 | if ( qApp->desktop()->width() == 240 ) |
61 | { | 62 | { |
62 | d->logo->hide(); | 63 | d->logo->hide(); |
63 | d->setFixedWidth( qApp->desktop()->width() - 5 ); | 64 | d->showMaximized(); |
64 | d->setFixedHeight( qApp->desktop()->height() - 50 ); | ||
65 | } | 65 | } |
66 | d->exec(); | 66 | d->exec(); |
67 | } | 67 | } |
68 | 68 | ||
69 | QRESULT AboutApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **iface ) | 69 | QRESULT AboutApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **iface ) |
70 | { | 70 | { |
71 | *iface = 0; | 71 | *iface = 0; |
72 | if ( uuid == IID_QUnknown ) | 72 | if ( uuid == IID_QUnknown ) |
73 | * iface = this; | 73 | * iface = this; |
74 | else if ( uuid == IID_MenuApplet ) | 74 | else if ( uuid == IID_MenuApplet ) |
75 | * iface = this; | 75 | * iface = this; |
76 | else | 76 | else |