summaryrefslogtreecommitdiff
path: root/libopie2/examples/opieui/okeyconfigwidget
authorar <ar>2004-06-03 19:02:20 (UTC)
committer ar <ar>2004-06-03 19:02:20 (UTC)
commit74109985fd9ebdffd6cf0416207a69b17b563fd6 (patch) (side-by-side diff)
treea06b7bc9bd5e90dc48174fd77775842cce003110 /libopie2/examples/opieui/okeyconfigwidget
parent25c5d7d615d1f476f206a40892877e259eeb365c (diff)
downloadopie-74109985fd9ebdffd6cf0416207a69b17b563fd6.zip
opie-74109985fd9ebdffd6cf0416207a69b17b563fd6.tar.gz
opie-74109985fd9ebdffd6cf0416207a69b17b563fd6.tar.bz2
- convert to odebug framework
Diffstat (limited to 'libopie2/examples/opieui/okeyconfigwidget') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/examples/opieui/okeyconfigwidget/testwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libopie2/examples/opieui/okeyconfigwidget/testwidget.cpp b/libopie2/examples/opieui/okeyconfigwidget/testwidget.cpp
index 5c7bac2..6d2c773 100644
--- a/libopie2/examples/opieui/okeyconfigwidget/testwidget.cpp
+++ b/libopie2/examples/opieui/okeyconfigwidget/testwidget.cpp
@@ -112,17 +112,17 @@ Opie::Core::OKeyConfigManager* TestMainWindow::manager() {
* So this is only for demo purposes
*/
void TestMainWindow::keyPressEvent( QKeyEvent* ev ) {
- qWarning( "String is "+ m_manager->handleKeyEvent( ev ).text() );
- qWarning( "Id was %d %d %d %d", m_manager->handleKeyEventId( ev ),ev->key(),ev->state(), ev->ascii() );
+ owarn << "String is "+ m_manager->handleKeyEvent( ev ).text() << oendl;
+ owarn << "Id was " << m_manager->handleKeyEventId( ev ) << " " << ev->key() << " " << ev->state() << " " << ev->ascii() << "" << oendl;
ev->ignore();
}
void TestMainWindow::slotDelete( QWidget* wid, QKeyEvent* ev ) {
- qWarning( "Slot Delete %d %d %d", wid, ev->key(), ev->state() );
+ owarn << "Slot Delete " << wid << " " << ev->key() << " " << ev->state() << "" << oendl;
}
void TestMainWindow::slotAction( QWidget* wid, QKeyEvent* ev, const Opie::Core::OKeyConfigItem& item) {
- qWarning( "Slot Action %d %d %d %s %d", wid, ev->key(), ev->state(), item.text().latin1(), item.id() );
+ owarn << "Slot Action " << wid << " " << ev->key() << " " << ev->state() << " " << item.text() << " " << item.id() << "" << oendl;
}
#include "testwidget.moc"