summaryrefslogtreecommitdiff
path: root/core/pim/todo/tableview.cpp
Unidiff
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 @@
31 31
32#include <qcombobox.h> 32#include <opie2/odebug.h>
33#include <qlineedit.h> 33#include <opie2/opimrecurrence.h>
34#include <qtimer.h>
35#include <qpopupmenu.h>
36 34
@@ -39,3 +37,6 @@
39 37
40#include <opie2/opimrecurrence.h> 38#include <qcombobox.h>
39#include <qlineedit.h>
40#include <qtimer.h>
41#include <qpopupmenu.h>
41 42
@@ -196,3 +197,3 @@ void TableView::showOverDue( bool ) {
196void TableView::updateView( ) { 197void TableView::updateView( ) {
197 qWarning("update view"); 198 Opie::Core::owarn << "update view" << oendl;
198 m_row = false; 199 m_row = false;
@@ -210,3 +211,3 @@ void TableView::updateView( ) {
210 211
211 qWarning("setTodos"); 212 Opie::Core::owarn << "setTodos" << oendl;
212 QTime time; 213 QTime time;
@@ -256,3 +257,3 @@ void TableView::removeEvent( int ) {
256void TableView::setShowCompleted( bool b) { 257void TableView::setShowCompleted( bool b) {
257 qWarning("Show Completed %d" , b ); 258 Opie::Core::owarn << "Show Completed " << b << oendl;
258 updateView(); 259 updateView();
@@ -260,3 +261,3 @@ void TableView::setShowCompleted( bool b) {
260void TableView::setShowDeadline( bool b ) { 261void TableView::setShowDeadline( bool b ) {
261 qWarning( "Show DeadLine %d" , b ); 262 Opie::Core::owarn << "Show Deadline " << b << oendl;
262 if ( b ) 263 if ( b )
@@ -283,3 +284,3 @@ void TableView::setShowDeadline( bool b ) {
283void TableView::setShowCategory( const QString& str) { 284void TableView::setShowCategory( const QString& str) {
284 qWarning("setShowCategory"); 285 Opie::Core::owarn << "setShowCategory" << oendl;
285 if ( str != m_oleCat || m_first ) 286 if ( str != m_oleCat || m_first )
@@ -348,3 +349,4 @@ void TableView::slotPressed(int row, int col, int,
348 349
349 qWarning("pressed row %d col %d x:%d+y:%d", row,col,point.x(),point.y() ); 350 Opie::Core::owarn << "pressed row " << row << " col " << col << " x:" << point.x()
351 << "+y:" << point.y() << oendl;
350 m_prevP = point; 352 m_prevP = point;
@@ -355,3 +357,3 @@ void TableView::slotPressed(int row, int col, int,
355void TableView::slotValueChanged( int, int ) { 357void TableView::slotValueChanged( int, int ) {
356 qWarning("Value Changed"); 358 Opie::Core::owarn << "Value Changed" << oendl;
357} 359}
@@ -371,3 +373,3 @@ QWidget* TableView::widget() {
371void TableView::sortColumn( int col, bool asc, bool ) { 373void TableView::sortColumn( int col, bool asc, bool ) {
372 qWarning("bool %d", asc ); 374 Opie::Core::owarn << "bool " << asc << oendl;
373 setSortOrder( col ); 375 setSortOrder( col );
@@ -494,3 +496,3 @@ QWidget* TableView::createEditor(int row, int col, bool )const {
494void TableView::setCellContentFromEditor(int row, int col ) { 496void TableView::setCellContentFromEditor(int row, int col ) {
495 qWarning("set cell content from editor"); 497 Opie::Core::owarn << "set cell content from editor" << oendl;
496 if ( col == 1 ) { 498 if ( col == 1 ) {
@@ -530,3 +532,3 @@ void TableView::slotPriority() {
530void TableView::timerEvent( QTimerEvent* ) { 532void TableView::timerEvent( QTimerEvent* ) {
531// qWarning("sorted %d", sorted().count() ); 533// Opie::Core::owarn << "sorted " << sorted().count() << oendl;
532 if (sorted().count() == 0 ) 534 if (sorted().count() == 0 )
@@ -578,3 +580,3 @@ void TableView::contentsMouseReleaseEvent( QMouseEvent* e) {
578 int colNew = columnAt(e->x() ); 580 int colNew = columnAt(e->x() );
579 qWarning("colNew: %d colOld: %d", colNew, colOld ); 581 Opie::Core::owarn << "colNew: " << colNew << " colOld: " << colOld << oendl;
580 if ( row == rowAt( e->y() ) && row != -1 && 582 if ( row == rowAt( e->y() ) && row != -1 &&