author | zecke <zecke> | 2004-11-11 22:00:18 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-11-11 22:00:18 (UTC) |
commit | b81a7aeacda23d4407cd88ee017b67ea48344a94 (patch) (unidiff) | |
tree | eda86d8db6cca3608cf12a298765f468bceed030 /libopie2 | |
parent | d2d25a3c1e60a34436cd93e5214a35b3edd05c6c (diff) | |
download | opie-b81a7aeacda23d4407cd88ee017b67ea48344a94.zip opie-b81a7aeacda23d4407cd88ee017b67ea48344a94.tar.gz opie-b81a7aeacda23d4407cd88ee017b67ea48344a94.tar.bz2 |
Remove owarn to be less verbose
-rw-r--r-- | libopie2/opieui/big-screen/osplitter.cpp | 15 | ||||
-rw-r--r-- | libopie2/opieui/big-screen/owidgetstack.cpp | 1 |
2 files changed, 0 insertions, 16 deletions
diff --git a/libopie2/opieui/big-screen/osplitter.cpp b/libopie2/opieui/big-screen/osplitter.cpp index f50e7f0..78e919a 100644 --- a/libopie2/opieui/big-screen/osplitter.cpp +++ b/libopie2/opieui/big-screen/osplitter.cpp | |||
@@ -83,5 +83,4 @@ OSplitter::OSplitter( Orientation orient, QWidget* parent, const char* name, WFl | |||
83 | OSplitter::~OSplitter() | 83 | OSplitter::~OSplitter() |
84 | { | 84 | { |
85 | owarn << "Deleted Splitter" << oendl; | ||
86 | m_splitter.setAutoDelete( true ); | 85 | m_splitter.setAutoDelete( true ); |
87 | m_splitter.clear(); | 86 | m_splitter.clear(); |
@@ -211,8 +210,5 @@ void OSplitter::addWidget( QWidget* wid, const QString& icon, const QString& lab | |||
211 | #ifdef DEBUG | 210 | #ifdef DEBUG |
212 | if (!wid ) | 211 | if (!wid ) |
213 | { | ||
214 | owarn << "Widget is not valid!" << oendl; | ||
215 | return; | 212 | return; |
216 | } | ||
217 | #endif | 213 | #endif |
218 | OSplitterContainer cont; | 214 | OSplitterContainer cont; |
@@ -368,7 +364,5 @@ void OSplitter::resizeEvent( QResizeEvent* res ) | |||
368 | * | 364 | * |
369 | */ | 365 | */ |
370 | // owarn << "Old size was width = " << res->oldSize().width() << " height = " << res->oldSize().height() << "" << oendl; | ||
371 | bool mode = true; | 366 | bool mode = true; |
372 | owarn << "New size is width = " << res->size().width() << " height = " << res->size().height() << " " << name() << "" << oendl; | ||
373 | if ( res->size().width() > m_size_policy && | 367 | if ( res->size().width() > m_size_policy && |
374 | m_orient == Horizontal ) | 368 | m_orient == Horizontal ) |
@@ -387,5 +381,4 @@ void OSplitter::resizeEvent( QResizeEvent* res ) | |||
387 | m_orient == Vertical ) | 381 | m_orient == Vertical ) |
388 | { | 382 | { |
389 | owarn << "Changng to vbox " << name() << "" << oendl; | ||
390 | changeVBox(); | 383 | changeVBox(); |
391 | mode = false; | 384 | mode = false; |
@@ -446,5 +439,4 @@ void OSplitter::changeTab() | |||
446 | } | 439 | } |
447 | 440 | ||
448 | owarn << " New Tab Widget " << name() << "" << oendl; | ||
449 | /* | 441 | /* |
450 | * and add all widgets this will reparent them | 442 | * and add all widgets this will reparent them |
@@ -473,5 +465,4 @@ void OSplitter::changeTab() | |||
473 | for ( ContainerList::Iterator it = m_container.begin(); it != m_container.end(); ++it ) | 465 | for ( ContainerList::Iterator it = m_container.begin(); it != m_container.end(); ++it ) |
474 | { | 466 | { |
475 | owarn << "Widget is " << (*it).name << "" << oendl; | ||
476 | addToTab( (*it) ); | 467 | addToTab( (*it) ); |
477 | } | 468 | } |
@@ -506,5 +497,4 @@ void OSplitter::changeHBox() | |||
506 | } | 497 | } |
507 | 498 | ||
508 | owarn << "new HBox " << name() << "" << oendl; | ||
509 | m_hbox = new QHBox( this ); | 499 | m_hbox = new QHBox( this ); |
510 | commonChangeBox(); | 500 | commonChangeBox(); |
@@ -519,5 +509,4 @@ void OSplitter::changeVBox() | |||
519 | } | 509 | } |
520 | 510 | ||
521 | owarn << "New VBOX " << name() << "" << oendl; | ||
522 | m_hbox = new QVBox( this ); | 511 | m_hbox = new QVBox( this ); |
523 | 512 | ||
@@ -534,6 +523,4 @@ void OSplitter::changeVBox() | |||
534 | void OSplitter::commonChangeBox() | 523 | void OSplitter::commonChangeBox() |
535 | { | 524 | { |
536 | owarn << " Name of Splitters is " << name() << "" << oendl; | ||
537 | |||
538 | for (ContainerList::Iterator it = m_container.begin(); it != m_container.end(); ++it ) | 525 | for (ContainerList::Iterator it = m_container.begin(); it != m_container.end(); ++it ) |
539 | { | 526 | { |
@@ -541,5 +528,4 @@ void OSplitter::commonChangeBox() | |||
541 | if (m_parentTab ) | 528 | if (m_parentTab ) |
542 | removeFromTab( (*it).widget ); | 529 | removeFromTab( (*it).widget ); |
543 | owarn << "Adding to box " << (*it).name << "" << oendl; | ||
544 | addToBox( (*it) ); | 530 | addToBox( (*it) ); |
545 | } | 531 | } |
@@ -561,5 +547,4 @@ void OSplitter::commonChangeBox() | |||
561 | else | 547 | else |
562 | { | 548 | { |
563 | owarn << " setting Box geometry for " << name() << "" << oendl; | ||
564 | m_hbox->setGeometry( frameRect() ); | 549 | m_hbox->setGeometry( frameRect() ); |
565 | m_hbox->show(); | 550 | m_hbox->show(); |
diff --git a/libopie2/opieui/big-screen/owidgetstack.cpp b/libopie2/opieui/big-screen/owidgetstack.cpp index 9c9f7ec..b14a643 100644 --- a/libopie2/opieui/big-screen/owidgetstack.cpp +++ b/libopie2/opieui/big-screen/owidgetstack.cpp | |||
@@ -311,5 +311,4 @@ void OWidgetStack::hideWidget( QWidget* wid) { | |||
311 | 311 | ||
312 | bool OWidgetStack::eventFilter( QObject* obj, QEvent* e) { | 312 | bool OWidgetStack::eventFilter( QObject* obj, QEvent* e) { |
313 | owarn << " " << obj->name() << " " << obj->className() << "" << oendl; | ||
314 | if ( e->type() == QEvent::Resize ) { | 313 | if ( e->type() == QEvent::Resize ) { |
315 | QResizeEvent *res = static_cast<QResizeEvent*>( e ); | 314 | QResizeEvent *res = static_cast<QResizeEvent*>( e ); |