summaryrefslogtreecommitdiff
path: root/library/qpeapplication.cpp
authorzecke <zecke>2004-02-06 15:48:42 (UTC)
committer zecke <zecke>2004-02-06 15:48:42 (UTC)
commitd1c1ce295b6522e52244c970010a9e42c0b614ae (patch) (unidiff)
tree54e3fefdb0ea998e5c9117f245d6a615ce02200c /library/qpeapplication.cpp
parentb033733924e5d3454bb0a810c6a70d4ff0531d2b (diff)
downloadopie-d1c1ce295b6522e52244c970010a9e42c0b614ae.zip
opie-d1c1ce295b6522e52244c970010a9e42c0b614ae.tar.gz
opie-d1c1ce295b6522e52244c970010a9e42c0b614ae.tar.bz2
add api docu
Diffstat (limited to 'library/qpeapplication.cpp') (more/less context) (show whitespace changes)
-rw-r--r--library/qpeapplication.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index a97efc0..6f2e43b 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -432,14 +432,14 @@ static void setTreble( int t = 0, int percent = -1 )
432 } 432 }
433 break; 433 break;
434 } 434 }
435} 435}
436 436
437 437
438/*! 438/**
439 \class QPEApplication qpeapplication.h 439 \class QPEApplication
440 \brief The QPEApplication class implements various system services 440 \brief The QPEApplication class implements various system services
441 that are available to all Qtopia applications. 441 that are available to all Qtopia applications.
442 442
443 Simply by using QPEApplication instead of QApplication, a standard Qt 443 Simply by using QPEApplication instead of QApplication, a standard Qt
444 application becomes a Qtopia application. It automatically follows 444 application becomes a Qtopia application. It automatically follows
445 style changes, quits and raises, and in the 445 style changes, quits and raises, and in the
@@ -1568,12 +1568,13 @@ void QPEApplication::pidMessage( const QCString& msg, const QByteArray& data)
1568 consider passing TRUE for \a nomaximize rather than the default FALSE. 1568 consider passing TRUE for \a nomaximize rather than the default FALSE.
1569 1569
1570 \sa showMainDocumentWidget() 1570 \sa showMainDocumentWidget()
1571*/ 1571*/
1572void QPEApplication::showMainWidget( QWidget* mw, bool nomaximize ) 1572void QPEApplication::showMainWidget( QWidget* mw, bool nomaximize )
1573{ 1573{
1574 setMainWidget(mw);
1574 d->show(mw, nomaximize ); 1575 d->show(mw, nomaximize );
1575} 1576}
1576 1577
1577/*! 1578/*!
1578 Sets widget \a mw as the mainWidget() and shows it. For small windows, 1579 Sets widget \a mw as the mainWidget() and shows it. For small windows,
1579 consider passing TRUE for \a nomaximize rather than the default FALSE. 1580 consider passing TRUE for \a nomaximize rather than the default FALSE.
@@ -1588,12 +1589,13 @@ void QPEApplication::showMainWidget( QWidget* mw, bool nomaximize )
1588void QPEApplication::showMainDocumentWidget( QWidget* mw, bool nomaximize ) 1589void QPEApplication::showMainDocumentWidget( QWidget* mw, bool nomaximize )
1589{ 1590{
1590 if ( mw && argc() == 2 ) 1591 if ( mw && argc() == 2 )
1591 Global::setDocument( mw, QString::fromUtf8(argv()[1]) ); 1592 Global::setDocument( mw, QString::fromUtf8(argv()[1]) );
1592 1593
1593 1594
1595 setMainWidget(mw);
1594 d->show(mw, nomaximize ); 1596 d->show(mw, nomaximize );
1595} 1597}
1596 1598
1597 1599
1598/*! 1600/*!
1599 If an application is started via a \link qcop.html QCop\endlink 1601 If an application is started via a \link qcop.html QCop\endlink