Diffstat (limited to 'noncore/apps/opie-gutenbrowser/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-gutenbrowser/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/opie-gutenbrowser/main.cpp b/noncore/apps/opie-gutenbrowser/main.cpp index 5c3348c..71c836d 100644 --- a/noncore/apps/opie-gutenbrowser/main.cpp +++ b/noncore/apps/opie-gutenbrowser/main.cpp | |||
@@ -16,49 +16,49 @@ | |||
16 | using namespace Opie::Core; | 16 | using namespace Opie::Core; |
17 | 17 | ||
18 | OPIE_EXPORT_APP( OApplicationFactory<Gutenbrowser> ) | 18 | OPIE_EXPORT_APP( OApplicationFactory<Gutenbrowser> ) |
19 | 19 | ||
20 | // #ifdef QT_QWS_NONOPIE | 20 | // #ifdef QT_QWS_NONOPIE |
21 | 21 | ||
22 | // #include <qpe/qpeapplication.h> | 22 | // #include <qpe/qpeapplication.h> |
23 | // #include "gutenbrowser.h" | 23 | // #include "gutenbrowser.h" |
24 | // #include <qstring.h> | 24 | // #include <qstring.h> |
25 | // // #include <stdio.h> | 25 | // // #include <stdio.h> |
26 | // // #include <stdlib.h> | 26 | // // #include <stdlib.h> |
27 | 27 | ||
28 | // int main(int argc, char *argv[]){ | 28 | // int main(int argc, char *argv[]){ |
29 | // QPEApplication a(argc, argv); | 29 | // QPEApplication a(argc, argv); |
30 | // // char * psz; | 30 | // // char * psz; |
31 | // // if (argc > 1) { | 31 | // // if (argc > 1) { |
32 | // // for( int i=0; i < argc; i++) { | 32 | // // for( int i=0; i < argc; i++) { |
33 | // // psz = argv[i]; | 33 | // // psz = argv[i]; |
34 | // // if( psz[0] == '-' || psz[0] == '/' ) { | 34 | // // if( psz[0] == '-' || psz[0] == '/' ) { |
35 | // // // The next character is the option. | 35 | // // // The next character is the option. |
36 | // // switch( psz[1] ) | 36 | // // switch( psz[1] ) |
37 | // // { | 37 | // // { |
38 | // // case 'v': // help | 38 | // // case 'v': // help |
39 | // // printf("Gutenbrowser: "VERSION"\n"); | 39 | // // printf("Gutenbrowser: "VERSION"\n"); |
40 | // // // qDebug("Gutenbrowser: "VERSION); | 40 | // // // odebug << "Gutenbrowser: "VERSION << oendl; |
41 | // // // return 0; | 41 | // // // return 0; |
42 | // // break; | 42 | // // break; |
43 | // // case 't': // current time 19:34:20 04/03/00 | 43 | // // case 't': // current time 19:34:20 04/03/00 |
44 | // // // return 0; | 44 | // // // return 0; |
45 | // // break; | 45 | // // break; |
46 | // // case 'f': // | 46 | // // case 'f': // |
47 | // // // file_Name=argv[i+1]; | 47 | // // // file_Name=argv[i+1]; |
48 | // // break; | 48 | // // break; |
49 | // // } | 49 | // // } |
50 | // // } | 50 | // // } |
51 | // // } | 51 | // // } |
52 | // // } | 52 | // // } |
53 | // // QNetworkProtocol::registerNetworkProtocol("http", new QNetworkProtocolFactory<Http>); | 53 | // // QNetworkProtocol::registerNetworkProtocol("http", new QNetworkProtocolFactory<Http>); |
54 | // // qInitNetworkProtocols();//registers ftp protocol // for now | 54 | // // qInitNetworkProtocols();//registers ftp protocol // for now |
55 | // Gutenbrowser *gutenbrowser=new Gutenbrowser(); | 55 | // Gutenbrowser *gutenbrowser=new Gutenbrowser(); |
56 | // // a.setMainWidget(gutenbrowser); | 56 | // // a.setMainWidget(gutenbrowser); |
57 | // a.showMainWidget(gutenbrowser,TRUE); | 57 | // a.showMainWidget(gutenbrowser,TRUE); |
58 | // gutenbrowser->showMaximized(); | 58 | // gutenbrowser->showMaximized(); |
59 | // gutenbrowser->show(); | 59 | // gutenbrowser->show(); |
60 | // return a.exec(); | 60 | // return a.exec(); |
61 | // } | 61 | // } |
62 | 62 | ||
63 | 63 | ||
64 | // #endif | 64 | // #endif |