summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/examples/opiecore/odebugdemo/odebugdemo.cpp4
-rw-r--r--libopie2/examples/opiedb/sqltest/main.cpp42
-rw-r--r--libopie2/examples/opiedb/sqltest/spaltenweise.cpp6
-rw-r--r--libopie2/examples/opiedb/sqltest/zeilenweise.cpp6
-rw-r--r--libopie2/examples/opiemm/osoundsystemdemo/osoundsystemdemo.cpp39
-rw-r--r--libopie2/examples/opienet/onetworkdemo/onetworkdemo.cpp97
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/main.cpp6
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp10
-rw-r--r--libopie2/examples/opieui/oversatileviewdemo/oversatileviewdemo.cpp26
9 files changed, 165 insertions, 71 deletions
diff --git a/libopie2/examples/opiecore/odebugdemo/odebugdemo.cpp b/libopie2/examples/opiecore/odebugdemo/odebugdemo.cpp
index 0b8e1fe..c0369ef 100644
--- a/libopie2/examples/opiecore/odebugdemo/odebugdemo.cpp
+++ b/libopie2/examples/opiecore/odebugdemo/odebugdemo.cpp
@@ -28,3 +28,3 @@ public:
28 // you have access to your OApplication object via oApp 28 // you have access to your OApplication object via oApp
29 qDebug( "Process-wide OApplication object @ %0x", oApp ); 29 odebug << "Process-wide OApplication object @ " << oApp << "" << oendl;
30 30
@@ -91,3 +91,3 @@ public slots:
91 m = method; 91 m = method;
92 qDebug( "choosing method: %d", method ); 92 odebug << "choosing method: " << method << "" << oendl;
93 OConfig* g = OGlobal::config(); 93 OConfig* g = OGlobal::config();
diff --git a/libopie2/examples/opiedb/sqltest/main.cpp b/libopie2/examples/opiedb/sqltest/main.cpp
index adca5fd..24b7b21 100644
--- a/libopie2/examples/opiedb/sqltest/main.cpp
+++ b/libopie2/examples/opiedb/sqltest/main.cpp
@@ -1,4 +1,30 @@
1#include <qdir.h> 1/*
2 =. This file is part of the Opie Project
3 .=l. Copyright (C) 2004 Opie Team <opie@handhelds.org>
4 .>+-=
5 _;:, .> :=|. This library is free software; you can
6.> <`_, > . <= redistribute it and/or modify it under
7:`=1 )Y*s>-.-- : the terms of the GNU Library General Public
8.="- .-=="i, .._ License as published by the Free Software
9 - . .-<_> .<> Foundation; either version 2 of the License,
10 ._= =} : or (at your option) any later version.
11 .%`+i> _;_.
12 .i_,=:_. -<s. This library is distributed in the hope that
13 + . -:. = it will be useful, but WITHOUT ANY WARRANTY;
14 : .. .:, . . . without even the implied warranty of
15 =_ + =;=|` MERCHANTABILITY or FITNESS FOR A
16 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU
17..}^=.= = ; Library General Public License for more
18++= -. .` .: details.
19 : = ...= . :.=-
20 -. .:....=;==+<; You should have received a copy of the GNU
21 -_. . . )=. = Library General Public License along with
22 -- :-=` this library; see the file COPYING.LIB.
23 If not, write to the Free Software Foundation,
24 Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA.
2 26
3#include <qpe/qpeapplication.h> 27*/
28
29/* OPIE */
4#include <opie2/osqlmanager.h> 30#include <opie2/osqlmanager.h>
@@ -7,2 +33,8 @@
7#include <opie2/osqlresult.h> 33#include <opie2/osqlresult.h>
34#include <opie2/odebug.h>
35
36#include <qpe/qpeapplication.h>
37
38/* QT */
39#include <qdir.h>
8 40
@@ -17,8 +49,8 @@ OSQLBackEnd::ValueList list = man.queryBackEnd();
17OSQLDriver *driver = man.standard(); 49OSQLDriver *driver = man.standard();
18 qWarning("testmain" + driver->id() ); 50 owarn << "testmain" + driver->id() << oendl;
19 driver->setUrl("/home/ich/test2vhgytry"); 51 driver->setUrl("/home/ich/test2vhgytry");
20 if ( driver->open() ) { 52 if ( driver->open() ) {
21 qWarning("could open"); 53 owarn << "could open" << oendl;
22 }else 54 }else
23 qWarning("wasn't able to open"); 55 owarn << "wasn't able to open" << oendl;
24 OSQLRawQuery raw("select * from t2" ); 56 OSQLRawQuery raw("select * from t2" );
diff --git a/libopie2/examples/opiedb/sqltest/spaltenweise.cpp b/libopie2/examples/opiedb/sqltest/spaltenweise.cpp
index e1a4d5d..c11724c 100644
--- a/libopie2/examples/opiedb/sqltest/spaltenweise.cpp
+++ b/libopie2/examples/opiedb/sqltest/spaltenweise.cpp
@@ -18,8 +18,8 @@ int main( int argc, char* argv[] ) {
18 OSQLDriver *driver = man.standard(); 18 OSQLDriver *driver = man.standard();
19 qWarning("testmain" + driver->id() ); 19 owarn << "testmain" + driver->id() << oendl;
20 driver->setUrl("/home/ich/spaltenweise"); 20 driver->setUrl("/home/ich/spaltenweise");
21 if ( driver->open() ) { 21 if ( driver->open() ) {
22 qWarning("could open"); 22 owarn << "could open" << oendl;
23 }else 23 }else
24 qWarning("wasn't able to open"); 24 owarn << "wasn't able to open" << oendl;
25 OSQLRawQuery *raw = new OSQLRawQuery("create table todolist(" 25 OSQLRawQuery *raw = new OSQLRawQuery("create table todolist("
diff --git a/libopie2/examples/opiedb/sqltest/zeilenweise.cpp b/libopie2/examples/opiedb/sqltest/zeilenweise.cpp
index 2d11ac5..126e797 100644
--- a/libopie2/examples/opiedb/sqltest/zeilenweise.cpp
+++ b/libopie2/examples/opiedb/sqltest/zeilenweise.cpp
@@ -18,8 +18,8 @@ OSQLBackEnd::ValueList list = man.queryBackEnd();
18OSQLDriver *driver = man.standard(); 18OSQLDriver *driver = man.standard();
19 qWarning("testmain" + driver->id() ); 19 owarn << "testmain" + driver->id() << oendl;
20 driver->setUrl("/home/ich/zeilenweise"); 20 driver->setUrl("/home/ich/zeilenweise");
21 if ( driver->open() ) { 21 if ( driver->open() ) {
22 qWarning("could open"); 22 owarn << "could open" << oendl;
23 }else 23 }else
24 qWarning("wasn't able to open"); 24 owarn << "wasn't able to open" << oendl;
25 OSQLRawQuery raw2("BEGIN TRANSACTION"); 25 OSQLRawQuery raw2("BEGIN TRANSACTION");
diff --git a/libopie2/examples/opiemm/osoundsystemdemo/osoundsystemdemo.cpp b/libopie2/examples/opiemm/osoundsystemdemo/osoundsystemdemo.cpp
index 8d421fd..bdf2149 100644
--- a/libopie2/examples/opiemm/osoundsystemdemo/osoundsystemdemo.cpp
+++ b/libopie2/examples/opiemm/osoundsystemdemo/osoundsystemdemo.cpp
@@ -1,2 +1,32 @@
1/*
2 =. This file is part of the Opie Project
3 .=l. Copyright (C) 2004 Opie Team <opie@handhelds.org>
4 .>+-=
5 _;:, .> :=|. This library is free software; you can
6.> <`_, > . <= redistribute it and/or modify it under
7:`=1 )Y*s>-.-- : the terms of the GNU Library General Public
8.="- .-=="i, .._ License as published by the Free Software
9 - . .-<_> .<> Foundation; either version 2 of the License,
10 ._= =} : or (at your option) any later version.
11 .%`+i> _;_.
12 .i_,=:_. -<s. This library is distributed in the hope that
13 + . -:. = it will be useful, but WITHOUT ANY WARRANTY;
14 : .. .:, . . . without even the implied warranty of
15 =_ + =;=|` MERCHANTABILITY or FITNESS FOR A
16 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU
17..}^=.= = ; Library General Public License for more
18++= -. .` .: details.
19 : = ...= . :.=-
20 -. .:....=;==+<; You should have received a copy of the GNU
21 -_. . . )=. = Library General Public License along with
22 -- :-=` this library; see the file COPYING.LIB.
23 If not, write to the Free Software Foundation,
24 Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA.
26
27*/
28
29/* OPIE */
1#include <opie2/osoundsystem.h> 30#include <opie2/osoundsystem.h>
31#include <opie2/odebug.h>
2 32
@@ -6,3 +36,3 @@ int main( int argc, char** argv )
6{ 36{
7 qDebug( "OPIE Sound System Demo" ); 37 odebug << "OPIE Sound System Demo" << oendl;
8 38
@@ -14,3 +44,3 @@ int main( int argc, char** argv )
14 { 44 {
15 qDebug( "DEMO: OSoundSystem contains Interface '%s'", (const char*) it.current()->name() ); 45 odebug << "DEMO: OSoundSystem contains Interface '" << it.current()->name() << "'" << oendl;
16 ++it; 46 ++it;
@@ -27,4 +57,5 @@ int main( int argc, char** argv )
27 { 57 {
28 qDebug( "OSSDEMO: Mixer has channel %s", (const char*) *it ); 58 odebug << "OSSDEMO: Mixer has channel " << *it << "" << oendl;
29 qDebug( "OSSDEMO: +--- volume %d (left) | %d (right)", mixer->volume( *it ) & 0xff, mixer->volume( *it ) >> 8 ); 59 odebug << "OSSDEMO: +--- volume " << ( mixer->volume( *it ) & 0xff )
60 << " (left) | " << ( mixer->volume( *it ) >> 8 ) << " (right)" << oendl;
30 } 61 }
diff --git a/libopie2/examples/opienet/onetworkdemo/onetworkdemo.cpp b/libopie2/examples/opienet/onetworkdemo/onetworkdemo.cpp
index 4f8af60..65866af 100644
--- a/libopie2/examples/opienet/onetworkdemo/onetworkdemo.cpp
+++ b/libopie2/examples/opienet/onetworkdemo/onetworkdemo.cpp
@@ -1 +1,30 @@
1/*
2 =. This file is part of the Opie Project
3 .=l. Copyright (C) 2004 Opie Team <opie@handhelds.org>
4 .>+-=
5 _;:, .> :=|. This library is free software; you can
6.> <`_, > . <= redistribute it and/or modify it under
7:`=1 )Y*s>-.-- : the terms of the GNU Library General Public
8.="- .-=="i, .._ License as published by the Free Software
9 - . .-<_> .<> Foundation; either version 2 of the License,
10 ._= =} : or (at your option) any later version.
11 .%`+i> _;_.
12 .i_,=:_. -<s. This library is distributed in the hope that
13 + . -:. = it will be useful, but WITHOUT ANY WARRANTY;
14 : .. .:, . . . without even the implied warranty of
15 =_ + =;=|` MERCHANTABILITY or FITNESS FOR A
16 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU
17..}^=.= = ; Library General Public License for more
18++= -. .` .: details.
19 : = ...= . :.=-
20 -. .:....=;==+<; You should have received a copy of the GNU
21 -_. . . )=. = Library General Public License along with
22 -- :-=` this library; see the file COPYING.LIB.
23 If not, write to the Free Software Foundation,
24 Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA.
26
27*/
28
29/* OPIE */
1#include <opie2/onetwork.h> 30#include <opie2/onetwork.h>
@@ -3,3 +32,5 @@
3#include <opie2/omanufacturerdb.h> 32#include <opie2/omanufacturerdb.h>
33#include <opie2/odebug.h>
4 34
35/* STD */
5#include <unistd.h> 36#include <unistd.h>
@@ -10,3 +41,3 @@ int main( int argc, char** argv )
10{ 41{
11 qDebug( "OPIE Network Demo" ); 42 odebug << "OPIE Network Demo" << oendl;
12 43
@@ -18,10 +49,10 @@ int main( int argc, char** argv )
18 { 49 {
19 qDebug( "DEMO: ONetwork contains Interface '%s'", (const char*) it.current()->name() ); 50 odebug << "DEMO: ONetwork contains Interface '" << it.current()->name() << "'" << oendl;
20 qDebug( "DEMO: Datalink code is '%d'", it.current()->dataLinkType() ); 51 odebug << "DEMO: Datalink code is '" << it.current()->dataLinkType() << "'" << oendl;
21 qDebug( "DEMO: MAC Address is '%s'", (const char*) it.current()->macAddress().toString() ); 52 odebug << "DEMO: MAC Address is '" << it.current()->macAddress().toString() << "'" << oendl;
22 qDebug( "DEMO: MAC Address is '%s'", (const char*) it.current()->macAddress().toString(true) ); 53 odebug << "DEMO: MAC Address is '" << it.current()->macAddress().toString(true) << "'" << oendl;
23 qDebug( "DEMO: MAC Manufacturer seems to be '%s'", (const char*) it.current()->macAddress().manufacturer() ); 54 odebug << "DEMO: MAC Manufacturer seems to be '" << it.current()->macAddress().manufacturer() << "'" << oendl;
24 qDebug( "DEMO: Manufacturertest1 = '%s'", (const char*) OManufacturerDB::instance()->lookupExt( "08:00:87" ) ); 55 odebug << "DEMO: Manufacturertest1 = '" << OManufacturerDB::instance()->lookupExt( "08:00:87" ) << "'" << oendl;
25 qDebug( "DEMO: Manufacturertest2 = '%s'", (const char*) OManufacturerDB::instance()->lookupExt( "E2:0C:0F" ) ); 56 odebug << "DEMO: Manufacturertest2 = '" << OManufacturerDB::instance()->lookupExt( "E2:0C:0F" ) << "'" << oendl;
26 qDebug( "Demo: IPv4 Address is '%s'", (const char*) it.current()->ipV4Address() ); 57 odebug << "Demo: IPv4 Address is '" << it.current()->ipV4Address() << "'" << oendl;
27 if ( it.current()->isWireless() ) 58 if ( it.current()->isWireless() )
@@ -29,5 +60,5 @@ int main( int argc, char** argv )
29 OWirelessNetworkInterface* iface = static_cast<OWirelessNetworkInterface*>( it.current() ); 60 OWirelessNetworkInterface* iface = static_cast<OWirelessNetworkInterface*>( it.current() );
30 qDebug( "DEMO: '%s' seems to feature the wireless extensions.", (const char*) iface->name() ); 61 odebug << "DEMO: '" << iface->name() << "' seems to feature the wireless extensions." << oendl;
31 qDebug( "DEMO: Current SSID is '%s'", (const char*) iface->SSID() ); 62 odebug << "DEMO: Current SSID is '" << iface->SSID() << "'" << oendl;
32 qDebug( "DEMO: Antenna is tuned to '%f', that is channel %d", iface->frequency(), iface->channel() ); 63 odebug << "DEMO: Antenna is tuned to '" << iface->frequency() << "', that is channel " << iface->channel() << "" << oendl;
33 64
@@ -35,3 +66,3 @@ int main( int argc, char** argv )
35 //{ 66 //{
36 //qDebug( "DEMO: Associated AP has MAC Address '%s'", (const char*) iface->associatedAP().toString() ); 67 //odebug << "DEMO: Associated AP has MAC Address '" << iface->associatedAP().toString() << "'" << oendl;
37 //} 68 //}
@@ -41,8 +72,8 @@ int main( int argc, char** argv )
41 // nickname 72 // nickname
42 qDebug( "DEMO: Current NickName is '%s'", (const char*) iface->nickName() ); 73 odebug << "DEMO: Current NickName is '" << iface->nickName() << "'" << oendl;
43 iface->setNickName( "MyNickName" ); 74 iface->setNickName( "MyNickName" );
44 if ( iface->nickName() != "MyNickName" ) 75 if ( iface->nickName() != "MyNickName" )
45 qDebug( "DEMO: Warning! Can't change nickname" ); 76 odebug << "DEMO: Warning! Can't change nickname" << oendl;
46 else 77 else
47 qDebug( "DEMO: Nickname change successful." ); 78 odebug << "DEMO: Nickname change successful." << oendl;
48 79
@@ -51,16 +82,16 @@ int main( int argc, char** argv )
51 // operation mode 82 // operation mode
52 qDebug( "DEMO: Current OperationMode is '%s'", (const char*) iface->mode() ); 83 odebug << "DEMO: Current OperationMode is '" << iface->mode() << "'" << oendl;
53 iface->setMode( "adhoc" ); 84 iface->setMode( "adhoc" );
54 if ( iface->mode() != "adhoc" ) 85 if ( iface->mode() != "adhoc" )
55 qDebug( "DEMO: Warning! Can't change operation mode" ); 86 odebug << "DEMO: Warning! Can't change operation mode" << oendl;
56 else 87 else
57 qDebug( "DEMO: Operation Mode change successful." ); 88 odebug << "DEMO: Operation Mode change successful." << oendl;
58 89
59 // RF channel 90 // RF channel
60 qDebug( "DEMO: Current Channel is '%d'", iface->channel() ); 91 odebug << "DEMO: Current Channel is '" << iface->channel() << "'" << oendl;
61 iface->setChannel( 1 ); 92 iface->setChannel( 1 );
62 if ( iface->channel() != 1 ) 93 if ( iface->channel() != 1 )
63 qDebug( "DEMO: Warning! Can't change RF channel" ); 94 odebug << "DEMO: Warning! Can't change RF channel" << oendl;
64 else 95 else
65 qDebug( "DEMO: RF channel change successful." ); 96 odebug << "DEMO: RF channel change successful." << oendl;
66 97
@@ -77,3 +108,3 @@ int main( int argc, char** argv )
77 { 108 {
78 qDebug( "DEMO: # of stations around = %d", stations->count() ); 109 odebug << "DEMO: # of stations around = " << stations->count() << "" << oendl;
79 OStation* station; 110 OStation* station;
@@ -81,3 +112,3 @@ int main( int argc, char** argv )
81 { 112 {
82 qDebug( "DEMO: station dump following..." ); 113 odebug << "DEMO: station dump following..." << oendl;
83 station->dump(); 114 station->dump();
@@ -88,3 +119,3 @@ int main( int argc, char** argv )
88 { 119 {
89 qDebug( "DEMO: Warning! Scan didn't work!" ); 120 odebug << "DEMO: Warning! Scan didn't work!" << oendl;
90 } 121 }
@@ -108,3 +139,3 @@ int main( int argc, char** argv )
108 iface->setUp( true ); 139 iface->setUp( true );
109 qDebug( "DEMO: MAC Address now is '%s'", (const char*) iface->macAddress().toString() ); 140 odebug << "DEMO: MAC Address now is '" << iface->macAddress().toString() << "'" << oendl;
110 141
@@ -114,7 +145,7 @@ int main( int argc, char** argv )
114 145
115
116 146
117 qDebug( "DEMO: current interface mode is '%s'", (const char*) iface->mode() ); 147
148 odebug << "DEMO: current interface mode is '" << iface->mode() << "'" << oendl;
118 iface->setMode( "monitor" ); 149 iface->setMode( "monitor" );
119 qDebug( "DEMO: current interface mode is '%s'", (const char*) iface->mode() ); 150 odebug << "DEMO: current interface mode is '" << iface->mode() << "'" << oendl;
120 151
@@ -126,3 +157,3 @@ int main( int argc, char** argv )
126 //sleep( 1 ); 157 //sleep( 1 );
127 qDebug( "DEMO: current interface mode is '%s'", (const char*) iface->mode() ); 158 odebug << "DEMO: current interface mode is '" << iface->mode() << "'" << oendl;
128 159
@@ -130,9 +161,9 @@ int main( int argc, char** argv )
130 sleep( 1 ); 161 sleep( 1 );
131 qDebug( "DEMO: current interface mode is '%s'", (const char*) iface->mode() ); 162 odebug << "DEMO: current interface mode is '" << iface->mode() << "'" << oendl;
132 iface->setMode( "managed" ); 163 iface->setMode( "managed" );
133 sleep( 1 ); 164 sleep( 1 );
134 qDebug( "DEMO: current interface mode is '%s'", (const char*) iface->mode() ); 165 odebug << "DEMO: current interface mode is '" << iface->mode() << "'" << oendl;
135 iface->setMode( "master" ); 166 iface->setMode( "master" );
136 sleep( 1 ); 167 sleep( 1 );
137 qDebug( "DEMO: current interface mode is '%s'", (const char*) iface->mode() );*/ 168 odebug << "DEMO: current interface mode is '" << iface->mode() << "'" << oendl; */
138 169
diff --git a/libopie2/examples/opieui/oversatileviewdemo/main.cpp b/libopie2/examples/opieui/oversatileviewdemo/main.cpp
index bcda14c..e48395a 100644
--- a/libopie2/examples/opieui/oversatileviewdemo/main.cpp
+++ b/libopie2/examples/opieui/oversatileviewdemo/main.cpp
@@ -25,7 +25,7 @@ int main( int argc, char **argv )
25 OApplication a( argc, argv, "Opie UI Demo" ); 25 OApplication a( argc, argv, "Opie UI Demo" );
26 qDebug( "." ); 26 odebug << "." << oendl;
27 OpieUIDemo e; 27 OpieUIDemo e;
28 qDebug( "." ); 28 odebug << "." << oendl;
29 a.showMainWidget(&e); 29 a.showMainWidget(&e);
30 qDebug( "." ); 30 odebug << "." << oendl;
31 return a.exec(); 31 return a.exec();
diff --git a/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp b/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp
index 754a744..a2cdd5a 100644
--- a/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp
+++ b/libopie2/examples/opieui/oversatileviewdemo/opieuidemo.cpp
@@ -101,3 +101,3 @@ void OpieUIDemo::demoOCompletionBox()
101{ 101{
102 qDebug( "ocompletionbox" ); 102 odebug << "ocompletionbox" << oendl;
103 103
@@ -117,3 +117,3 @@ void OpieUIDemo::demoOLineEdit()
117{ 117{
118 qDebug( "olineedit" ); 118 odebug << "olineedit" << oendl;
119 119
@@ -137,3 +137,3 @@ void OpieUIDemo::demoOComboBox()
137{ 137{
138 qDebug( "ocombobox" ); 138 odebug << "ocombobox" << oendl;
139 139
@@ -162,3 +162,3 @@ void OpieUIDemo::demoOEditListBox()
162{ 162{
163 qDebug( "oeditlistbox" ); 163 odebug << "oeditlistbox" << oendl;
164 164
@@ -187,3 +187,3 @@ void OpieUIDemo::demoOSelector()
187{ 187{
188 qDebug( "oselector" ); 188 odebug << "oselector" << oendl;
189 189
diff --git a/libopie2/examples/opieui/oversatileviewdemo/oversatileviewdemo.cpp b/libopie2/examples/opieui/oversatileviewdemo/oversatileviewdemo.cpp
index b6d59aa..e8bbdb1 100644
--- a/libopie2/examples/opieui/oversatileviewdemo/oversatileviewdemo.cpp
+++ b/libopie2/examples/opieui/oversatileviewdemo/oversatileviewdemo.cpp
@@ -104,3 +104,3 @@ void OVersatileViewDemo::selectionChanged()
104{ 104{
105 qDebug( "received signal selectionChanged()" ); 105 odebug << "received signal selectionChanged()" << oendl;
106} 106}
@@ -108,3 +108,3 @@ void OVersatileViewDemo::selectionChanged( OVersatileViewItem * item )
108{ 108{
109 qDebug( "received signal selectionChanged(OVersatileViewItem*)" ); 109 odebug << "received signal selectionChanged(OVersatileViewItem*)" << oendl;
110} 110}
@@ -112,3 +112,3 @@ void OVersatileViewDemo::currentChanged( OVersatileViewItem * item )
112{ 112{
113 qDebug( "received signal currentChanged( OVersatileViewItem * )" ); 113 odebug << "received signal currentChanged( OVersatileViewItem * )" << oendl;
114} 114}
@@ -116,3 +116,3 @@ void OVersatileViewDemo::clicked( OVersatileViewItem * item )
116{ 116{
117 qDebug( "received signal clicked( OVersatileViewItem * )" ); 117 odebug << "received signal clicked( OVersatileViewItem * )" << oendl;
118} 118}
@@ -120,3 +120,3 @@ void OVersatileViewDemo::pressed( OVersatileViewItem * item )
120{ 120{
121 qDebug( "received signal pressed( OVersatileViewItem * )" ); 121 odebug << "received signal pressed( OVersatileViewItem * )" << oendl;
122} 122}
@@ -125,3 +125,3 @@ void OVersatileViewDemo::doubleClicked( OVersatileViewItem *item )
125{ 125{
126 qDebug( "received signal doubleClicked( OVersatileViewItem *item )" ); 126 odebug << "received signal doubleClicked( OVersatileViewItem *item )" << oendl;
127} 127}
@@ -129,3 +129,3 @@ void OVersatileViewDemo::returnPressed( OVersatileViewItem *item )
129{ 129{
130 qDebug( "received signal returnPressed( OVersatileViewItem *item )" ); 130 odebug << "received signal returnPressed( OVersatileViewItem *item )" << oendl;
131} 131}
@@ -134,3 +134,3 @@ void OVersatileViewDemo::onItem( OVersatileViewItem *item )
134{ 134{
135 qDebug( "received signal onItem( OVersatileViewItem *item )" ); 135 odebug << "received signal onItem( OVersatileViewItem *item )" << oendl;
136} 136}
@@ -138,3 +138,3 @@ void OVersatileViewDemo::onViewport()
138{ 138{
139 qDebug( "received signal onViewport()" ); 139 odebug << "received signal onViewport()" << oendl;
140} 140}
@@ -143,3 +143,3 @@ void OVersatileViewDemo::expanded( OVersatileViewItem *item )
143{ 143{
144 qDebug( "received signal expanded( OVersatileViewItem *item )" ); 144 odebug << "received signal expanded( OVersatileViewItem *item )" << oendl;
145} 145}
@@ -148,3 +148,3 @@ void OVersatileViewDemo::collapsed( OVersatileViewItem *item )
148{ 148{
149 qDebug( "received signal collapsed( OVersatileViewItem *item )" ); 149 odebug << "received signal collapsed( OVersatileViewItem *item )" << oendl;
150} 150}
@@ -153,3 +153,3 @@ void OVersatileViewDemo::moved()
153{ 153{
154 qDebug( "received signal moved( OVersatileViewItem *item )" ); 154 odebug << "received signal moved( OVersatileViewItem *item )" << oendl;
155} 155}
@@ -158,3 +158,3 @@ void OVersatileViewDemo::contextMenuRequested( OVersatileViewItem *item, const Q
158{ 158{
159 qDebug( "received signal contextMenuRequested( OVersatileViewItem *item )" ); 159 odebug << "received signal contextMenuRequested( OVersatileViewItem *item )" << oendl;
160} 160}