summaryrefslogtreecommitdiff
path: root/core/apps/embeddedkonsole/main.cpp
authorar <ar>2004-05-02 16:22:24 (UTC)
committer ar <ar>2004-05-02 16:22:24 (UTC)
commit34f1234b010fa80f9ca06e65f46130713f7362d9 (patch) (unidiff)
tree6ded6dcd83ed00b436f312f2403f7afc9f399435 /core/apps/embeddedkonsole/main.cpp
parent4e7ab937501b6495ce5635a7515e66a75e04d37e (diff)
downloadopie-34f1234b010fa80f9ca06e65f46130713f7362d9.zip
opie-34f1234b010fa80f9ca06e65f46130713f7362d9.tar.gz
opie-34f1234b010fa80f9ca06e65f46130713f7362d9.tar.bz2
- convert qDebug to odebug
Diffstat (limited to 'core/apps/embeddedkonsole/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/apps/embeddedkonsole/main.cpp b/core/apps/embeddedkonsole/main.cpp
index b851d3e..131e782 100644
--- a/core/apps/embeddedkonsole/main.cpp
+++ b/core/apps/embeddedkonsole/main.cpp
@@ -44,14 +44,14 @@ OPIE_EXPORT_APP( OApplicationFactory<Konsole> )
44 44
45 45
46/* --| main |------------------------------------------------------ */ 46/* --| main |------------------------------------------------------ */
47 int main(int argc, char* argv[]) { 47 int main(int argc, char* argv[]) {
48 if(setuid(getuid()) !=0) qDebug("setuid failed"); 48 if(setuid(getuid()) !=0) odebug << "setuid failed" << oendl;
49 if(setgid(getgid()) != 0) qDebug("setgid failed"); // drop privileges 49 if(setgid(getgid()) != 0) odebug << "setgid failed" << oendl; // drop privileges
50 50
51 QPEApplication a( argc, argv ); 51 QPEApplication a( argc, argv );
52#ifdef FAKE_CTRL_AND_ALT 52#ifdef FAKE_CTRL_AND_ALT
53 qDebug("Fake Ctrl and Alt defined"); 53 odebug << "Fake Ctrl and Alt defined" << oendl;
54 QPEApplication::grabKeyboard(); // for CTRL and ALT 54 QPEApplication::grabKeyboard(); // for CTRL and ALT
55#endif 55#endif
56 56
57 QStrList tmp; 57 QStrList tmp;
@@ -72,9 +72,9 @@ OPIE_EXPORT_APP( OApplicationFactory<Konsole> )
72 endpwent(); 72 endpwent();
73 } 73 }
74 74
75 if( putenv((char*)"COLORTERM=") !=0) 75 if( putenv((char*)"COLORTERM=") !=0)
76 qDebug("putenv failed"); // to trigger mc's color detection 76 odebug << "putenv failed" << oendl; // to trigger mc's color detection
77 77
78 Konsole m( "test", shell, tmp, TRUE ); 78 Konsole m( "test", shell, tmp, TRUE );
79 m.setCaption( Konsole::tr("Terminal") ); 79 m.setCaption( Konsole::tr("Terminal") );
80 a.showMainWidget( &m ); 80 a.showMainWidget( &m );