summaryrefslogtreecommitdiff
path: root/core/pim/todo/tableview.cpp
authordrw <drw>2002-12-22 17:03:27 (UTC)
committer drw <drw>2002-12-22 17:03:27 (UTC)
commitc8a5bdd7d4b7de88708e88df797bd494eb6f7e71 (patch) (unidiff)
tree7e3468f1dd9afab3a1ccad2978c628b2d737fc1d /core/pim/todo/tableview.cpp
parent5377a2c897ae67ec2cd0cf8e57da9037366efe67 (diff)
downloadopie-c8a5bdd7d4b7de88708e88df797bd494eb6f7e71.zip
opie-c8a5bdd7d4b7de88708e88df797bd494eb6f7e71.tar.gz
opie-c8a5bdd7d4b7de88708e88df797bd494eb6f7e71.tar.bz2
QWhatsThis for main task view and toolbars.
Diffstat (limited to 'core/pim/todo/tableview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/tableview.cpp21
1 files changed, 11 insertions, 10 deletions
diff --git a/core/pim/todo/tableview.cpp b/core/pim/todo/tableview.cpp
index d229f52..cd6740a 100644
--- a/core/pim/todo/tableview.cpp
+++ b/core/pim/todo/tableview.cpp
@@ -59,6 +59,17 @@ void TableView::initConfig() {
59 59
60TableView::TableView( MainWindow* window, QWidget* wid ) 60TableView::TableView( MainWindow* window, QWidget* wid )
61 : QTable( wid ), TodoView( window ) { 61 : QTable( wid ), TodoView( window ) {
62
63 // Load icons
64 // TODO - probably should be done globally somewhere else, see also quickeditimpl.cpp/h
65 m_pic_completed = Resource::loadPixmap( "todo/completed" );
66 QString namestr;
67 for ( unsigned int i = 1; i < 6; i++ ) {
68 namestr = "todo/priority";
69 namestr.append( QString::number( i ) );
70 m_pic_priority[ i - 1 ] = Resource::loadPixmap( namestr );
71 }
72
62 setUpdatesEnabled( false ); 73 setUpdatesEnabled( false );
63 viewport()->setUpdatesEnabled( false ); 74 viewport()->setUpdatesEnabled( false );
64 m_enablePaint = false; 75 m_enablePaint = false;
@@ -99,16 +110,6 @@ TableView::TableView( MainWindow* window, QWidget* wid )
99 setAscending( TRUE ); 110 setAscending( TRUE );
100 m_first = true; 111 m_first = true;
101 112
102 // Load icons
103 // TODO - probably should be done globally somewhere else, see also quickeditimpl.cpp/h
104 m_pic_completed = Resource::loadPixmap( "todo/completed" );
105 QString namestr;
106 for ( unsigned int i = 1; i < 6; i++ ) {
107 namestr = "todo/priority";
108 namestr.append( QString::number( i ) );
109 m_pic_priority[ i - 1 ] = Resource::loadPixmap( namestr );
110 }
111
112 /* now let's init the config */ 113 /* now let's init the config */
113 initConfig(); 114 initConfig();
114} 115}