summaryrefslogtreecommitdiff
path: root/core/applets/aboutapplet/about.cpp
authormickeyl <mickeyl>2004-08-24 22:03:14 (UTC)
committer mickeyl <mickeyl>2004-08-24 22:03:14 (UTC)
commitbc5cab6c01856b89c8b407fe7cccdb52cfcb5697 (patch) (unidiff)
treeccae965c22eed8e2e6bdfc8043b3977907a07398 /core/applets/aboutapplet/about.cpp
parent73253e93327cf4ef0932de1b4afb56af22a0f37e (diff)
downloadopie-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.cpp4
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
10AboutApplet::AboutApplet ( ) 11AboutApplet::AboutApplet ( )
11 : QObject ( 0, "AboutApplet" ) 12 : QObject ( 0, "AboutApplet" )
12{} 13{}
13 14
14AboutApplet::~AboutApplet ( ) 15AboutApplet::~AboutApplet ( )
15{} 16{}
@@ -51,26 +52,25 @@ QIconSet AboutApplet::icon ( ) const
51 52
52QPopupMenu *AboutApplet::popup ( QWidget * ) const 53QPopupMenu *AboutApplet::popup ( QWidget * ) const
53{ 54{
54 return 0; 55 return 0;
55} 56}
56 57
57void AboutApplet::activated() 58void 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
69QRESULT AboutApplet::queryInterface ( const QUuid &uuid, QUnknownInterface **iface ) 69QRESULT 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