summaryrefslogtreecommitdiff
path: root/core/pim/todo/tableview.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/todo/tableview.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/todo/tableview.cpp34
1 files changed, 18 insertions, 16 deletions
diff --git a/core/pim/todo/tableview.cpp b/core/pim/todo/tableview.cpp
index 0d298f4..0b1c579 100644
--- a/core/pim/todo/tableview.cpp
+++ b/core/pim/todo/tableview.cpp
@@ -31,6 +31,4 @@
-#include <qcombobox.h>
-#include <qlineedit.h>
-#include <qtimer.h>
-#include <qpopupmenu.h>
+#include <opie2/odebug.h>
+#include <opie2/opimrecurrence.h>
@@ -39,3 +37,6 @@
-#include <opie2/opimrecurrence.h>
+#include <qcombobox.h>
+#include <qlineedit.h>
+#include <qtimer.h>
+#include <qpopupmenu.h>
@@ -196,3 +197,3 @@ void TableView::showOverDue( bool ) {
void TableView::updateView( ) {
- qWarning("update view");
+ Opie::Core::owarn << "update view" << oendl;
m_row = false;
@@ -210,3 +211,3 @@ void TableView::updateView( ) {
- qWarning("setTodos");
+ Opie::Core::owarn << "setTodos" << oendl;
QTime time;
@@ -256,3 +257,3 @@ void TableView::removeEvent( int ) {
void TableView::setShowCompleted( bool b) {
- qWarning("Show Completed %d" , b );
+ Opie::Core::owarn << "Show Completed " << b << oendl;
updateView();
@@ -260,3 +261,3 @@ void TableView::setShowCompleted( bool b) {
void TableView::setShowDeadline( bool b ) {
- qWarning( "Show DeadLine %d" , b );
+ Opie::Core::owarn << "Show Deadline " << b << oendl;
if ( b )
@@ -283,3 +284,3 @@ void TableView::setShowDeadline( bool b ) {
void TableView::setShowCategory( const QString& str) {
- qWarning("setShowCategory");
+ Opie::Core::owarn << "setShowCategory" << oendl;
if ( str != m_oleCat || m_first )
@@ -348,3 +349,4 @@ void TableView::slotPressed(int row, int col, int,
- qWarning("pressed row %d col %d x:%d+y:%d", row,col,point.x(),point.y() );
+ Opie::Core::owarn << "pressed row " << row << " col " << col << " x:" << point.x()
+ << "+y:" << point.y() << oendl;
m_prevP = point;
@@ -355,3 +357,3 @@ void TableView::slotPressed(int row, int col, int,
void TableView::slotValueChanged( int, int ) {
- qWarning("Value Changed");
+ Opie::Core::owarn << "Value Changed" << oendl;
}
@@ -371,3 +373,3 @@ QWidget* TableView::widget() {
void TableView::sortColumn( int col, bool asc, bool ) {
- qWarning("bool %d", asc );
+ Opie::Core::owarn << "bool " << asc << oendl;
setSortOrder( col );
@@ -494,3 +496,3 @@ QWidget* TableView::createEditor(int row, int col, bool )const {
void TableView::setCellContentFromEditor(int row, int col ) {
- qWarning("set cell content from editor");
+ Opie::Core::owarn << "set cell content from editor" << oendl;
if ( col == 1 ) {
@@ -530,3 +532,3 @@ void TableView::slotPriority() {
void TableView::timerEvent( QTimerEvent* ) {
-// qWarning("sorted %d", sorted().count() );
+// Opie::Core::owarn << "sorted " << sorted().count() << oendl;
if (sorted().count() == 0 )
@@ -578,3 +580,3 @@ void TableView::contentsMouseReleaseEvent( QMouseEvent* e) {
int colNew = columnAt(e->x() );
- qWarning("colNew: %d colOld: %d", colNew, colOld );
+ Opie::Core::owarn << "colNew: " << colNew << " colOld: " << colOld << oendl;
if ( row == rowAt( e->y() ) && row != -1 &&