Diffstat (limited to 'libopie2/opiecore/opieapplication.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiecore/opieapplication.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libopie2/opiecore/opieapplication.cpp b/libopie2/opiecore/opieapplication.cpp index 7ff7b44..ae27b25 100644 --- a/libopie2/opiecore/opieapplication.cpp +++ b/libopie2/opiecore/opieapplication.cpp | |||
@@ -30,2 +30,3 @@ | |||
30 | 30 | ||
31 | #include <opie2/odebug.h> | ||
31 | 32 | ||
@@ -44,2 +45,3 @@ void OpieApplication::showMainWidget( QWidget* widget, bool nomax ) | |||
44 | { | 45 | { |
46 | if (nomax) odebug << "ignoring nomax"; | ||
45 | setMainWidget( widget ); | 47 | setMainWidget( widget ); |
@@ -48 +50,21 @@ void OpieApplication::showMainWidget( QWidget* widget, bool nomax ) | |||
48 | #endif | 50 | #endif |
51 | |||
52 | #ifndef QWS | ||
53 | QString OpieApplication::qpeDir() | ||
54 | { | ||
55 | const char * base = getenv( "OPIEDIR" ); | ||
56 | if ( base ) | ||
57 | return QString( base ) + "/"; | ||
58 | |||
59 | return QString( "../" ); | ||
60 | } | ||
61 | #endif | ||
62 | |||
63 | |||
64 | #ifndef QWS | ||
65 | void OpieApplication::showMainDocumentWidget( QWidget* widget, bool nomax) | ||
66 | { | ||
67 | showMainWidget(widget,nomax); | ||
68 | } | ||
69 | #endif | ||
70 | |||