summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/oapplication.cpp
Unidiff
Diffstat (limited to 'libopie2/opiecore/oapplication.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/oapplication.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/libopie2/opiecore/oapplication.cpp b/libopie2/opiecore/oapplication.cpp
index 84cab48..c3cacce 100644
--- a/libopie2/opiecore/oapplication.cpp
+++ b/libopie2/opiecore/oapplication.cpp
@@ -51,17 +51,13 @@ class OApplicationPrivate
51/**************************************************************************************************/ 51/**************************************************************************************************/
52/* OApplication 52/* OApplication
53/**************************************************************************************************/ 53/**************************************************************************************************/
54 54
55 55
56OApplication::OApplication( int& argc, char** argv, const QCString& rAppName ) 56OApplication::OApplication( int& argc, char** argv, const QCString& rAppName )
57#ifdef QWS
58 :QPEApplication( argc, argv ), 57 :QPEApplication( argc, argv ),
59#else
60 :QApplication( argc, argv ),
61#endif
62 _appname( rAppName ), 58 _appname( rAppName ),
63 _config( 0 ) 59 _config( 0 )
64{ 60{
65 init(); 61 init();
66} 62}
67 63
@@ -109,20 +105,13 @@ void OApplication::init()
109 } 105 }
110} 106}
111 107
112 108
113void OApplication::showMainWidget( QWidget* widget, bool nomax ) 109void OApplication::showMainWidget( QWidget* widget, bool nomax )
114{ 110{
115#ifdef QWS
116 QPEApplication::showMainWidget( widget, nomax ); 111 QPEApplication::showMainWidget( widget, nomax );
117#else
118// tille: I am quit sure if this is the right way to do..
119 odDebug(nomax,7) << "ignoring nomax";
120 setMainWidget( widget );
121 widget->show();
122#endif
123 widget->setCaption( _appname ); 112 widget->setCaption( _appname );
124} 113}
125 114
126 115
127void OApplication::setTitle( const QString& title ) const 116void OApplication::setTitle( const QString& title ) const
128{ 117{