summaryrefslogtreecommitdiff
path: root/core
authorzecke <zecke>2002-03-20 21:45:51 (UTC)
committer zecke <zecke>2002-03-20 21:45:51 (UTC)
commite9189f8d0cc46b0532fdcbcb2377ae3d108666d5 (patch) (side-by-side diff)
tree20af6104c262510595b82e619ee69b0958596ddd /core
parent0b39bb8d62f67a86128a6bd16afbd2aae004637c (diff)
downloadopie-e9189f8d0cc46b0532fdcbcb2377ae3d108666d5.zip
opie-e9189f8d0cc46b0532fdcbcb2377ae3d108666d5.tar.gz
opie-e9189f8d0cc46b0532fdcbcb2377ae3d108666d5.tar.bz2
vCal Resource for the tododb
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.cpp8
-rw-r--r--core/pim/todo/mainwindow.h3
-rw-r--r--core/pim/todo/todoentryimpl.cpp2
3 files changed, 9 insertions, 4 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp
index fb85a09..6709811 100644
--- a/core/pim/todo/mainwindow.cpp
+++ b/core/pim/todo/mainwindow.cpp
@@ -20,2 +20,4 @@
+#define QTOPIA_INTERNAL_FD
+
#include "mainwindow.h"
@@ -124,2 +126,3 @@ TodoWindow::TodoWindow( QWidget *parent, const char *name, WFlags f = 0 ) :
a->addTo( edit );
+
a = new QAction( tr( "Edit" ), Resource::loadIconSet( "edit" ),
@@ -133,2 +136,3 @@ TodoWindow::TodoWindow( QWidget *parent, const char *name, WFlags f = 0 ) :
editAction = a;
+
a = new QAction( tr( "Delete" ), Resource::loadIconSet( "trash" ),
@@ -328,3 +332,3 @@ void TodoWindow::setCategory( int c )
table->setShowCategory( QString::null );
- setCaption( tr("Todo") + " - " + tr( "All" ) );
+ setCaption( tr("Todo") + " - " + tr( "All Categories" ) );
} else if ( c == (int)catMenu->count() - 1 ) {
@@ -350,3 +354,3 @@ void TodoWindow::populateCategories()
id = 1;
- catMenu->insertItem( tr( "All" ), id++ );
+ catMenu->insertItem( tr( "All Categories" ), id++ );
// catMenu->insertSeparator();
diff --git a/core/pim/todo/mainwindow.h b/core/pim/todo/mainwindow.h
index f4fcd1b..856dcb4 100644
--- a/core/pim/todo/mainwindow.h
+++ b/core/pim/todo/mainwindow.h
@@ -1,5 +1,6 @@
/**********************************************************************
+ Copyright (C) 2002 Holger 'zecke' Freyther <freyther@kde.org>
** Copyright (C) 2000 Trolltech AS. All rights reserved.
**
-** This file is part of Qtopia Environment.
+** This file is part of Qtopia and Opi Environment.
**
diff --git a/core/pim/todo/todoentryimpl.cpp b/core/pim/todo/todoentryimpl.cpp
index 79206de..c957715 100644
--- a/core/pim/todo/todoentryimpl.cpp
+++ b/core/pim/todo/todoentryimpl.cpp
@@ -135,3 +135,3 @@ void NewTaskDialog::accept()
QString strText = txtTodo->text();
- if ( !strText || strText == "") {
+ if ( strText.isEmpty() ) {
// hmm... just decline it then, the user obviously didn't care about it