summaryrefslogtreecommitdiff
path: root/core/pim/todo/mainwindow.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/todo/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp
index a34bcf2..b5cace9 100644
--- a/core/pim/todo/mainwindow.cpp
+++ b/core/pim/todo/mainwindow.cpp
@@ -28,6 +28,7 @@
#include <opie/tododb.h>
#include <opie/todovcalresource.h>
+#include <opie/ofontmenu.h>
#include <qpe/qpeapplication.h>
#include <qpe/config.h>
@@ -185,7 +186,7 @@ TodoWindow::TodoWindow( QWidget *parent, const char *name, WFlags f = 0 ) :
catMenu->setCheckable( true );
populateCategories();
- mb->insertItem( tr( "Task" ), edit );
+ mb->insertItem( tr( "Data" ), edit );
mb->insertItem( tr( "View" ), catMenu );
resize( 200, 300 );
@@ -358,6 +359,12 @@ void TodoWindow::populateCategories()
{
catMenu->clear();
+ QList<QWidget> list;
+ list.append(table );
+ OFontMenu *menu = new OFontMenu(this, "menu",list );
+ menu->forceSize( table->horizontalHeader(), 10 );
+ catMenu->insertItem(tr("Fonts"), menu );
+
completedAction->addTo( catMenu );
completedAction->setOn( table->showCompleted() );
showdeadlineAction->addTo( catMenu );