-rw-r--r-- | core/applets/aboutapplet/about.cpp | 4 | ||||
-rw-r--r-- | core/applets/aboutapplet/dialog.ui | 7 |
2 files changed, 6 insertions, 5 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 |
diff --git a/core/applets/aboutapplet/dialog.ui b/core/applets/aboutapplet/dialog.ui index dac241f..539bde1 100644 --- a/core/applets/aboutapplet/dialog.ui +++ b/core/applets/aboutapplet/dialog.ui | |||
@@ -2,25 +2,25 @@ | |||
2 | <class>AboutDialog</class> | 2 | <class>AboutDialog</class> |
3 | <widget> | 3 | <widget> |
4 | <class>QDialog</class> | 4 | <class>QDialog</class> |
5 | <property stdset="1"> | 5 | <property stdset="1"> |
6 | <name>name</name> | 6 | <name>name</name> |
7 | <cstring>AboutDialog</cstring> | 7 | <cstring>AboutDialog</cstring> |
8 | </property> | 8 | </property> |
9 | <property stdset="1"> | 9 | <property stdset="1"> |
10 | <name>geometry</name> | 10 | <name>geometry</name> |
11 | <rect> | 11 | <rect> |
12 | <x>0</x> | 12 | <x>0</x> |
13 | <y>0</y> | 13 | <y>0</y> |
14 | <width>402</width> | 14 | <width>398</width> |
15 | <height>210</height> | 15 | <height>210</height> |
16 | </rect> | 16 | </rect> |
17 | </property> | 17 | </property> |
18 | <property stdset="1"> | 18 | <property stdset="1"> |
19 | <name>caption</name> | 19 | <name>caption</name> |
20 | <string>About</string> | 20 | <string>About</string> |
21 | </property> | 21 | </property> |
22 | <property> | 22 | <property> |
23 | <name>layoutMargin</name> | 23 | <name>layoutMargin</name> |
24 | </property> | 24 | </property> |
25 | <property> | 25 | <property> |
26 | <name>layoutSpacing</name> | 26 | <name>layoutSpacing</name> |
@@ -33,25 +33,25 @@ | |||
33 | <property stdset="1"> | 33 | <property stdset="1"> |
34 | <name>spacing</name> | 34 | <name>spacing</name> |
35 | <number>1</number> | 35 | <number>1</number> |
36 | </property> | 36 | </property> |
37 | <widget row="0" column="0" rowspan="1" colspan="2" > | 37 | <widget row="0" column="0" rowspan="1" colspan="2" > |
38 | <class>QLabel</class> | 38 | <class>QLabel</class> |
39 | <property stdset="1"> | 39 | <property stdset="1"> |
40 | <name>name</name> | 40 | <name>name</name> |
41 | <cstring>TextLabel1</cstring> | 41 | <cstring>TextLabel1</cstring> |
42 | </property> | 42 | </property> |
43 | <property stdset="1"> | 43 | <property stdset="1"> |
44 | <name>text</name> | 44 | <name>text</name> |
45 | <string><center><b>The Open Palmtop Integrated Environment V1.1.3</b></center></string> | 45 | <string><center><b>The Open Palmtop Integrated Environment V1.1.6</b></center></string> |
46 | </property> | 46 | </property> |
47 | </widget> | 47 | </widget> |
48 | <widget row="1" column="0" > | 48 | <widget row="1" column="0" > |
49 | <class>QLabel</class> | 49 | <class>QLabel</class> |
50 | <property stdset="1"> | 50 | <property stdset="1"> |
51 | <name>name</name> | 51 | <name>name</name> |
52 | <cstring>logo</cstring> | 52 | <cstring>logo</cstring> |
53 | </property> | 53 | </property> |
54 | <property stdset="1"> | 54 | <property stdset="1"> |
55 | <name>palette</name> | 55 | <name>palette</name> |
56 | <palette> | 56 | <palette> |
57 | <active> | 57 | <active> |
@@ -373,24 +373,25 @@ Visit <i>http://opie.handhelds.org</i> for more information on the O | |||
373 | <number>1</number> | 373 | <number>1</number> |
374 | </property> | 374 | </property> |
375 | <widget> | 375 | <widget> |
376 | <class>QTextBrowser</class> | 376 | <class>QTextBrowser</class> |
377 | <property stdset="1"> | 377 | <property stdset="1"> |
378 | <name>name</name> | 378 | <name>name</name> |
379 | <cstring>TextBrowser2</cstring> | 379 | <cstring>TextBrowser2</cstring> |
380 | </property> | 380 | </property> |
381 | <property stdset="1"> | 381 | <property stdset="1"> |
382 | <name>text</name> | 382 | <name>text</name> |
383 | <string><p> | 383 | <string><p> |
384 | <b>Rajko 'alwin' Albrecht</b> (alwin@handhelds.org)<br/> | 384 | <b>Rajko 'alwin' Albrecht</b> (alwin@handhelds.org)<br/> |
385 | <b>Stefan 'eilers' Eilers</b> (eilers@handhelds.org)<br/> | ||
385 | <b>Holger 'Zecke' Freyther</b> (zecke@handhelds.org)<br/> | 386 | <b>Holger 'Zecke' Freyther</b> (zecke@handhelds.org)<br/> |
386 | <b>Chris 'Kergoth' Larson</b> (kergoth@handhelds.org)<br/> | 387 | <b>Chris 'Kergoth' Larson</b> (kergoth@handhelds.org)<br/> |
387 | <b>Michael 'Mickey' Lauer</b> (mickeyl@handhelds.org)<br/> | 388 | <b>Michael 'Mickey' Lauer</b> (mickeyl@handhelds.org)<br/> |
388 | <b>Lorn 'ljp' Potter</b> (ljp@handhelds.org)<br/> | 389 | <b>Lorn 'ljp' Potter</b> (ljp@handhelds.org)<br/> |
389 | <b>Max 'Harlekin' Reiss</b> (harlekin@handhelds.org)<br/> | 390 | <b>Max 'Harlekin' Reiss</b> (harlekin@handhelds.org)<br/> |
390 | <b>Andreas 'ar' Richter</b> (ar@handhelds.org)<br/> | 391 | <b>Andreas 'ar' Richter</b> (ar@handhelds.org)<br/> |
391 | <b>Dan 'drw' Williams</b> (drw@handhelds.org)</tt><br/> | 392 | <b>Dan 'drw' Williams</b> (drw@handhelds.org)</tt><br/> |
392 | </p></string> | 393 | </p></string> |
393 | </property> | 394 | </property> |
394 | </widget> | 395 | </widget> |
395 | </hbox> | 396 | </hbox> |
396 | </widget> | 397 | </widget> |
@@ -459,16 +460,16 @@ Visit <i>http://opie.handhelds.org</i> for more information on the O | |||
459 | <p>Visit <i>http://opie.handhelds.org/</i> for information on some projects in which you can participate.</p> | 460 | <p>Visit <i>http://opie.handhelds.org/</i> for information on some projects in which you can participate.</p> |
460 | <p>If you need more information or documentation, then a visit to <i>http://opie.handhelds.org/</i> will provide you with what you need.</p></string> | 461 | <p>If you need more information or documentation, then a visit to <i>http://opie.handhelds.org/</i> will provide you with what you need.</p></string> |
461 | </property> | 462 | </property> |
462 | </widget> | 463 | </widget> |
463 | </vbox> | 464 | </vbox> |
464 | </widget> | 465 | </widget> |
465 | </widget> | 466 | </widget> |
466 | </grid> | 467 | </grid> |
467 | </widget> | 468 | </widget> |
468 | <images> | 469 | <images> |
469 | <image> | 470 | <image> |
470 | <name>image0</name> | 471 | <name>image0</name> |