summaryrefslogtreecommitdiff
path: root/libopie2/opieui/big-screen
Side-by-side diff
Diffstat (limited to 'libopie2/opieui/big-screen') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/big-screen/osplitter.cpp25
-rw-r--r--libopie2/opieui/big-screen/owidgetstack.cpp5
2 files changed, 17 insertions, 13 deletions
diff --git a/libopie2/opieui/big-screen/osplitter.cpp b/libopie2/opieui/big-screen/osplitter.cpp
index f0287ed..f50e7f0 100644
--- a/libopie2/opieui/big-screen/osplitter.cpp
+++ b/libopie2/opieui/big-screen/osplitter.cpp
@@ -32,2 +32,3 @@
#include <opie2/otabwidget.h>
+#include <opie2/odebug.h>
@@ -83,3 +84,3 @@ OSplitter::~OSplitter()
{
- qWarning("Deleted Splitter");
+ owarn << "Deleted Splitter" << oendl;
m_splitter.setAutoDelete( true );
@@ -212,3 +213,3 @@ void OSplitter::addWidget( QWidget* wid, const QString& icon, const QString& lab
{
- qWarning("Widget is not valid!");
+ owarn << "Widget is not valid!" << oendl;
return;
@@ -368,5 +369,5 @@ void OSplitter::resizeEvent( QResizeEvent* res )
*/
- // qWarning("Old size was width = %d height = %d", res->oldSize().width(), res->oldSize().height() );
+ // owarn << "Old size was width = " << res->oldSize().width() << " height = " << res->oldSize().height() << "" << oendl;
bool mode = true;
- qWarning("New size is width = %d height = %d %s", res->size().width(), res->size().height(), name() );
+ owarn << "New size is width = " << res->size().width() << " height = " << res->size().height() << " " << name() << "" << oendl;
if ( res->size().width() > m_size_policy &&
@@ -387,3 +388,3 @@ void OSplitter::resizeEvent( QResizeEvent* res )
{
- qWarning("Changng to vbox %s", name() );
+ owarn << "Changng to vbox " << name() << "" << oendl;
changeVBox();
@@ -446,3 +447,3 @@ void OSplitter::changeTab()
- qWarning(" New Tab Widget %s", name() );
+ owarn << " New Tab Widget " << name() << "" << oendl;
/*
@@ -473,3 +474,3 @@ void OSplitter::changeTab()
{
- qWarning("Widget is %s", (*it).name.latin1() );
+ owarn << "Widget is " << (*it).name << "" << oendl;
addToTab( (*it) );
@@ -506,3 +507,3 @@ void OSplitter::changeHBox()
- qWarning("new HBox %s", name() );
+ owarn << "new HBox " << name() << "" << oendl;
m_hbox = new QHBox( this );
@@ -519,3 +520,3 @@ void OSplitter::changeVBox()
- qWarning("New VBOX %s", name() );
+ owarn << "New VBOX " << name() << "" << oendl;
m_hbox = new QVBox( this );
@@ -534,3 +535,3 @@ void OSplitter::commonChangeBox()
{
- qWarning(" Name of Splitters is %s", name() );
+ owarn << " Name of Splitters is " << name() << "" << oendl;
@@ -541,3 +542,3 @@ void OSplitter::commonChangeBox()
removeFromTab( (*it).widget );
- qWarning("Adding to box %s", (*it).name.latin1() );
+ owarn << "Adding to box " << (*it).name << "" << oendl;
addToBox( (*it) );
@@ -561,3 +562,3 @@ void OSplitter::commonChangeBox()
{
- qWarning(" setting Box geometry for %s", name() );
+ owarn << " setting Box geometry for " << name() << "" << oendl;
m_hbox->setGeometry( frameRect() );
diff --git a/libopie2/opieui/big-screen/owidgetstack.cpp b/libopie2/opieui/big-screen/owidgetstack.cpp
index a0a6355..de7f83f 100644
--- a/libopie2/opieui/big-screen/owidgetstack.cpp
+++ b/libopie2/opieui/big-screen/owidgetstack.cpp
@@ -30,2 +30,5 @@
+/* OPIE */
+#include <opie2/odebug.h>
+
/* QT */
@@ -309,3 +312,3 @@ void OWidgetStack::hideWidget( QWidget* wid) {
bool OWidgetStack::eventFilter( QObject* obj, QEvent* e) {
- qWarning(" %s %s", obj->name(), obj->className() );
+ owarn << " " << obj->name() << " " << obj->className() << "" << oendl;
if ( e->type() == QEvent::Resize ) {