-rw-r--r-- | libopie2/opiecore/oapplication.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libopie2/opiecore/oapplication.cpp b/libopie2/opiecore/oapplication.cpp index 1b85057..d340c0e 100644 --- a/libopie2/opiecore/oapplication.cpp +++ b/libopie2/opiecore/oapplication.cpp | |||
@@ -15,62 +15,62 @@ | |||
15 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 15 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
16 | : .. .:, . . . without even the implied warranty of | 16 | : .. .:, . . . without even the implied warranty of |
17 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 17 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
18 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | 18 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
19 | ..}^=.= = ; Library General Public License for more | 19 | ..}^=.= = ; Library General Public License for more |
20 | ++= -. .` .: details. | 20 | ++= -. .` .: details. |
21 | : = ...= . :.=- | 21 | : = ...= . :.=- |
22 | -. .:....=;==+<; You should have received a copy of the GNU | 22 | -. .:....=;==+<; You should have received a copy of the GNU |
23 | -_. . . )=. = Library General Public License along with | 23 | -_. . . )=. = Library General Public License along with |
24 | -- :-=` this library; see the file COPYING.LIB. | 24 | -- :-=` this library; see the file COPYING.LIB. |
25 | If not, write to the Free Software Foundation, | 25 | If not, write to the Free Software Foundation, |
26 | Inc., 59 Temple Place - Suite 330, | 26 | Inc., 59 Temple Place - Suite 330, |
27 | Boston, MA 02111-1307, USA. | 27 | Boston, MA 02111-1307, USA. |
28 | */ | 28 | */ |
29 | 29 | ||
30 | #include <opie2/oapplication.h> | 30 | #include <opie2/oapplication.h> |
31 | #include <opie2/oconfig.h> | 31 | #include <opie2/oconfig.h> |
32 | #include <opie2/odebug.h> | 32 | #include <opie2/odebug.h> |
33 | 33 | ||
34 | #include <signal.h> | 34 | #include <signal.h> |
35 | #include <stdio.h> | 35 | #include <stdio.h> |
36 | 36 | ||
37 | OApplication* OApplication::_instance = 0; | 37 | OApplication* OApplication::_instance = 0; |
38 | 38 | ||
39 | /**************************************************************************************************/ | 39 | /************************************************************************************************** |
40 | /* OApplicationPrivate | 40 | * OApplicationPrivate |
41 | /**************************************************************************************************/ | 41 | **************************************************************************************************/ |
42 | 42 | ||
43 | class OApplicationPrivate | 43 | class OApplicationPrivate |
44 | { | 44 | { |
45 | public: | 45 | public: |
46 | OApplicationPrivate() {}; | 46 | OApplicationPrivate() {}; |
47 | ~OApplicationPrivate() {}; | 47 | ~OApplicationPrivate() {}; |
48 | }; | 48 | }; |
49 | 49 | ||
50 | /**************************************************************************************************/ | 50 | /************************************************************************************************** |
51 | /* OApplication | 51 | * OApplication |
52 | /**************************************************************************************************/ | 52 | **************************************************************************************************/ |
53 | 53 | ||
54 | 54 | ||
55 | OApplication::OApplication( int& argc, char** argv, const QCString& rAppName ) | 55 | OApplication::OApplication( int& argc, char** argv, const QCString& rAppName ) |
56 | :QPEApplication( argc, argv ), | 56 | :QPEApplication( argc, argv ), |
57 | _appname( rAppName ), | 57 | _appname( rAppName ), |
58 | _config( 0 ) | 58 | _config( 0 ) |
59 | { | 59 | { |
60 | init(); | 60 | init(); |
61 | } | 61 | } |
62 | 62 | ||
63 | 63 | ||
64 | OApplication::~OApplication() | 64 | OApplication::~OApplication() |
65 | { | 65 | { |
66 | delete d; | 66 | delete d; |
67 | if ( _config ) | 67 | if ( _config ) |
68 | delete _config; | 68 | delete _config; |
69 | OApplication::_instance = 0; | 69 | OApplication::_instance = 0; |
70 | // after deconstruction of the one-and-only application object, | 70 | // after deconstruction of the one-and-only application object, |
71 | // the construction of another object is allowed | 71 | // the construction of another object is allowed |
72 | } | 72 | } |
73 | 73 | ||
74 | 74 | ||
75 | OConfig* OApplication::config() | 75 | OConfig* OApplication::config() |
76 | { | 76 | { |