author | wimpie <wimpie> | 2005-01-06 23:52:47 (UTC) |
---|---|---|
committer | wimpie <wimpie> | 2005-01-06 23:52:47 (UTC) |
commit | a8e5ecd107a79f940d8a99d4a77071606a3a932f (patch) (unidiff) | |
tree | 3b2603d07877fb05fc5f2a0dbbbcf3ad1cce74c3 /noncore/settings/networksettings2/main.cpp | |
parent | a056b6d067800486d9c1ce99d1b923289d335e8f (diff) | |
download | opie-a8e5ecd107a79f940d8a99d4a77071606a3a932f.zip opie-a8e5ecd107a79f940d8a99d4a77071606a3a932f.tar.gz opie-a8e5ecd107a79f940d8a99d4a77071606a3a932f.tar.bz2 |
Some namespace } -> };
added NS2SetMac.sh script in control file
added activate/disactivate for usb
renamed templates directory to NS2templates
Diffstat (limited to 'noncore/settings/networksettings2/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings2/main.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/noncore/settings/networksettings2/main.cpp b/noncore/settings/networksettings2/main.cpp index 8487e3e..973b4b7 100644 --- a/noncore/settings/networksettings2/main.cpp +++ b/noncore/settings/networksettings2/main.cpp | |||
@@ -43,11 +43,7 @@ int main( int argc, char * argv[] ) { | |||
43 | // could be overruled by -qws | 43 | // could be overruled by -qws |
44 | QApplication::Type GuiType = QApplication::GuiClient; | 44 | QApplication::Type GuiType = QApplication::GuiClient; |
45 | 45 | ||
46 | #ifdef _WS_QWS_ | ||
47 | QPEApplication * TheApp; | 46 | QPEApplication * TheApp; |
48 | #else | ||
49 | QApplication * TheApp; | ||
50 | #endif | ||
51 | 47 | ||
52 | for ( int i = 1; i < argc; i ++ ) { | 48 | for ( int i = 1; i < argc; i ++ ) { |
53 | int rmv; | 49 | int rmv; |
@@ -84,7 +80,6 @@ int main( int argc, char * argv[] ) { | |||
84 | } | 80 | } |
85 | 81 | ||
86 | // Start Qt | 82 | // Start Qt |
87 | #ifdef _WS_QWS_ | ||
88 | // because QPEApplication does not handle GuiType well | 83 | // because QPEApplication does not handle GuiType well |
89 | if( GuiType == QApplication::Tty ) { | 84 | if( GuiType == QApplication::Tty ) { |
90 | // this cast is NOT correct but we do not use | 85 | // this cast is NOT correct but we do not use |
@@ -93,9 +88,6 @@ int main( int argc, char * argv[] ) { | |||
93 | } else { | 88 | } else { |
94 | TheApp = new QPEApplication( argc, argv, GuiType ); | 89 | TheApp = new QPEApplication( argc, argv, GuiType ); |
95 | } | 90 | } |
96 | #else | ||
97 | TheApp = new QApplication( argc, argv, GuiType ); | ||
98 | #endif | ||
99 | 91 | ||
100 | // init qt with app widget | 92 | // init qt with app widget |
101 | 93 | ||
@@ -151,11 +143,7 @@ int main( int argc, char * argv[] ) { | |||
151 | TheApp->setMainWidget( W ); | 143 | TheApp->setMainWidget( W ); |
152 | 144 | ||
153 | W->show(); | 145 | W->show(); |
154 | #ifdef _WS_QWS_ | ||
155 | W->showMaximized(); | 146 | W->showMaximized(); |
156 | #else | ||
157 | W->resize( W->sizeHint() ); | ||
158 | #endif | ||
159 | rv = TheApp->exec(); | 147 | rv = TheApp->exec(); |
160 | 148 | ||
161 | delete W; | 149 | delete W; |