author | ar <ar> | 2004-06-03 19:02:20 (UTC) |
---|---|---|
committer | ar <ar> | 2004-06-03 19:02:20 (UTC) |
commit | 74109985fd9ebdffd6cf0416207a69b17b563fd6 (patch) (unidiff) | |
tree | a06b7bc9bd5e90dc48174fd77775842cce003110 /libopie2/examples/opieui/olistviewdemo | |
parent | 25c5d7d615d1f476f206a40892877e259eeb365c (diff) | |
download | opie-74109985fd9ebdffd6cf0416207a69b17b563fd6.zip opie-74109985fd9ebdffd6cf0416207a69b17b563fd6.tar.gz opie-74109985fd9ebdffd6cf0416207a69b17b563fd6.tar.bz2 |
- convert to odebug framework
Diffstat (limited to 'libopie2/examples/opieui/olistviewdemo') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/examples/opieui/olistviewdemo/olistviewdemo.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libopie2/examples/opieui/olistviewdemo/olistviewdemo.cpp b/libopie2/examples/opieui/olistviewdemo/olistviewdemo.cpp index 7834b3b..4c05620 100644 --- a/libopie2/examples/opieui/olistviewdemo/olistviewdemo.cpp +++ b/libopie2/examples/opieui/olistviewdemo/olistviewdemo.cpp | |||
@@ -31,8 +31,12 @@ | |||
31 | */ | 31 | */ |
32 | 32 | ||
33 | #include "olistviewdemo.h" | 33 | #include "olistviewdemo.h" |
34 | |||
35 | /* OPIE */ | ||
34 | #include <opie2/olistview.h> | 36 | #include <opie2/olistview.h> |
37 | #include <opie2/odebug.h> | ||
35 | 38 | ||
39 | /* QT */ | ||
36 | #include <qstring.h> | 40 | #include <qstring.h> |
37 | #include <qpixmap.h> | 41 | #include <qpixmap.h> |
38 | #include <qlistview.h> | 42 | #include <qlistview.h> |
@@ -65,14 +69,14 @@ OListViewDemo::OListViewDemo( QWidget* parent, const char* name, WFlags f ) | |||
65 | item = new ONamedListViewItem( item, QStringList::split( ' ', "Text1 Text2 Text3 Mickey" ) ); | 69 | item = new ONamedListViewItem( item, QStringList::split( ' ', "Text1 Text2 Text3 Mickey" ) ); |
66 | 70 | ||
67 | if ( lv->find( 3, "Mickey", 3 ) ) | 71 | if ( lv->find( 3, "Mickey", 3 ) ) |
68 | qDebug( "found Mickey :-)" ); | 72 | odebug << "found Mickey :-)" << oendl; |
69 | else | 73 | else |
70 | qDebug( "did not found Mickey :-(" ); | 74 | odebug << "did not found Mickey :-(" << oendl; |
71 | 75 | ||
72 | if ( lv->find( 3, "Minni", 0 ) ) | 76 | if ( lv->find( 3, "Minni", 0 ) ) |
73 | qDebug( "found Minni :-)" ); | 77 | odebug << "found Minni :-)" << oendl; |
74 | else | 78 | else |
75 | qDebug( "did not found Minni :-(" ); | 79 | odebug << "did not found Minni :-(" << oendl; |
76 | 80 | ||
77 | } | 81 | } |
78 | 82 | ||