summaryrefslogtreecommitdiff
authorzecke <zecke>2002-12-17 19:31:48 (UTC)
committer zecke <zecke>2002-12-17 19:31:48 (UTC)
commit813e3ff4978cc480fcb971411211df9a07375743 (patch) (unidiff)
treef67864367452f3130544be6edf49b3ad8b17532d
parent59d5865053c8e722339a63d05c73eb923350620f (diff)
downloadopie-813e3ff4978cc480fcb971411211df9a07375743.zip
opie-813e3ff4978cc480fcb971411211df9a07375743.tar.gz
opie-813e3ff4978cc480fcb971411211df9a07375743.tar.bz2
kill tableitems from the build process
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/tableview.cpp1
-rw-r--r--core/pim/todo/tableview.h1
-rw-r--r--core/pim/todo/todo.pro2
3 files changed, 1 insertions, 3 deletions
diff --git a/core/pim/todo/tableview.cpp b/core/pim/todo/tableview.cpp
index f59971e..a8cc271 100644
--- a/core/pim/todo/tableview.cpp
+++ b/core/pim/todo/tableview.cpp
@@ -7,48 +7,49 @@
7:`=1 )Y*s>-.--   : the terms of the GNU General Public 7:`=1 )Y*s>-.--   : the terms of the GNU General Public
8.="- .-=="i,     .._ License as published by the Free Software 8.="- .-=="i,     .._ License as published by the Free Software
9 - .   .-<_>     .<> Foundation; either version 2 of the License, 9 - .   .-<_>     .<> Foundation; either version 2 of the License,
10     ._= =}       : or (at your option) any later version. 10     ._= =}       : or (at your option) any later version.
11    .%`+i>       _;_. 11    .%`+i>       _;_.
12    .i_,=:_.      -<s. This program is distributed in the hope that 12    .i_,=:_.      -<s. This program is distributed in the hope that
13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY; 13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
14    : ..    .:,     . . . without even the implied warranty of 14    : ..    .:,     . . . without even the implied warranty of
15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A 15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU 16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
17..}^=.=       =       ; Library General Public License for more 17..}^=.=       =       ; Library General Public License for more
18++=   -.     .`     .: details. 18++=   -.     .`     .: details.
19 :     =  ...= . :.=- 19 :     =  ...= . :.=-
20 -.   .:....=;==+<; You should have received a copy of the GNU 20 -.   .:....=;==+<; You should have received a copy of the GNU
21  -_. . .   )=.  = Library General Public License along with 21  -_. . .   )=.  = Library General Public License along with
22    --        :-=` this library; see the file COPYING.LIB. 22    --        :-=` this library; see the file COPYING.LIB.
23 If not, write to the Free Software Foundation, 23 If not, write to the Free Software Foundation,
24 Inc., 59 Temple Place - Suite 330, 24 Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA. 25 Boston, MA 02111-1307, USA.
26 26
27*/ 27*/
28#include <stdlib.h> 28#include <stdlib.h>
29#include <cmath> 29#include <cmath>
30 30
31#include <qcombobox.h>
31#include <qlineedit.h> 32#include <qlineedit.h>
32#include <qtimer.h> 33#include <qtimer.h>
33#include <qpoint.h> 34#include <qpoint.h>
34#include <qpopupmenu.h> 35#include <qpopupmenu.h>
35 36
36#include <qpe/config.h> 37#include <qpe/config.h>
37 38
38#include <opie/orecur.h> 39#include <opie/orecur.h>
39 40
40#include "mainwindow.h" 41#include "mainwindow.h"
41//#include "tableitems.h" 42//#include "tableitems.h"
42#include "tableview.h" 43#include "tableview.h"
43 44
44using namespace Todo; 45using namespace Todo;
45 46
46namespace { 47namespace {
47 static const int BoxSize = 14; 48 static const int BoxSize = 14;
48 static const int RowHeight = 20; 49 static const int RowHeight = 20;
49} 50}
50 51
51 52
52void TableView::initConfig() { 53void TableView::initConfig() {
53 Config config( "todo" ); 54 Config config( "todo" );
54 config.setGroup( "Options" ); 55 config.setGroup( "Options" );
diff --git a/core/pim/todo/tableview.h b/core/pim/todo/tableview.h
index e47b38f..a27c698 100644
--- a/core/pim/todo/tableview.h
+++ b/core/pim/todo/tableview.h
@@ -11,49 +11,48 @@
11    .%`+i>       _;_. 11    .%`+i>       _;_.
12    .i_,=:_.      -<s. This program is distributed in the hope that 12    .i_,=:_.      -<s. This program is distributed in the hope that
13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY; 13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
14    : ..    .:,     . . . without even the implied warranty of 14    : ..    .:,     . . . without even the implied warranty of
15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A 15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU 16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
17..}^=.=       =       ; Library General Public License for more 17..}^=.=       =       ; Library General Public License for more
18++=   -.     .`     .: details. 18++=   -.     .`     .: details.
19 :     =  ...= . :.=- 19 :     =  ...= . :.=-
20 -.   .:....=;==+<; You should have received a copy of the GNU 20 -.   .:....=;==+<; You should have received a copy of the GNU
21  -_. . .   )=.  = Library General Public License along with 21  -_. . .   )=.  = Library General Public License along with
22    --        :-=` this library; see the file COPYING.LIB. 22    --        :-=` this library; see the file COPYING.LIB.
23 If not, write to the Free Software Foundation, 23 If not, write to the Free Software Foundation,
24 Inc., 59 Temple Place - Suite 330, 24 Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA. 25 Boston, MA 02111-1307, USA.
26 26
27*/ 27*/
28 28
29#ifndef OPIE_TABLE_VIEW_H 29#ifndef OPIE_TABLE_VIEW_H
30#define OPIE_TABLE_VIEW_H 30#define OPIE_TABLE_VIEW_H
31 31
32#include <qtable.h> 32#include <qtable.h>
33#include <qmap.h> 33#include <qmap.h>
34 34
35#include "tableitems.h"
36#include "todoview.h" 35#include "todoview.h"
37 36
38class QTimer; 37class QTimer;
39 38
40namespace Todo { 39namespace Todo {
41 class CheckItem; 40 class CheckItem;
42 class DueTextItem; 41 class DueTextItem;
43 class TableView : public QTable, public TodoView { 42 class TableView : public QTable, public TodoView {
44 Q_OBJECT 43 Q_OBJECT
45 public: 44 public:
46 TableView( MainWindow*, QWidget* parent ); 45 TableView( MainWindow*, QWidget* parent );
47 ~TableView(); 46 ~TableView();
48 47
49 48
50 QString type()const; 49 QString type()const;
51 int current(); 50 int current();
52 QString currentRepresentation(); 51 QString currentRepresentation();
53 52
54 void clear(); 53 void clear();
55 void showOverDue( bool ); 54 void showOverDue( bool );
56 void updateView(); 55 void updateView();
57 void setTodo( int uid, const OTodo& ); 56 void setTodo( int uid, const OTodo& );
58 void addEvent( const OTodo& event ); 57 void addEvent( const OTodo& event );
59 void replaceEvent( const OTodo& ); 58 void replaceEvent( const OTodo& );
diff --git a/core/pim/todo/todo.pro b/core/pim/todo/todo.pro
index 2911743..2714f30 100644
--- a/core/pim/todo/todo.pro
+++ b/core/pim/todo/todo.pro
@@ -1,53 +1,51 @@
1 TEMPLATE= app 1 TEMPLATE= app
2 CONFIG = qt warn_on release 2 CONFIG = qt warn_on release
3 DESTDIR = $(OPIEDIR)/bin 3 DESTDIR = $(OPIEDIR)/bin
4 4
5 HEADERS= smalltodo.h \ 5 HEADERS= smalltodo.h \
6 todomanager.h \ 6 todomanager.h \
7 mainwindow.h \ 7 mainwindow.h \
8 todoview.h \ 8 todoview.h \
9 tableview.h \ 9 tableview.h \
10 tableitems.h \
11 todotemplatemanager.h \ 10 todotemplatemanager.h \
12 todoeditor.h \ 11 todoeditor.h \
13 todoshow.h \ 12 todoshow.h \
14 textviewshow.h \ 13 textviewshow.h \
15 templateeditor.h \ 14 templateeditor.h \
16 templatedialog.h \ 15 templatedialog.h \
17 templatedialogimpl.h \ 16 templatedialogimpl.h \
18 quickedit.h \ 17 quickedit.h \
19 quickeditimpl.h \ 18 quickeditimpl.h \
20 otaskeditor.h \ 19 otaskeditor.h \
21 taskeditoroverviewimpl.h \ 20 taskeditoroverviewimpl.h \
22 taskeditoradvancedimpl.h 21 taskeditoradvancedimpl.h
23 22
24 SOURCES= smalltodo.cpp \ 23 SOURCES= smalltodo.cpp \
25 todomanager.cpp \ 24 todomanager.cpp \
26 mainwindow.cpp \ 25 mainwindow.cpp \
27 main.cpp \ 26 main.cpp \
28 tableview.cpp \ 27 tableview.cpp \
29 tableitems.cpp \
30 todoview.cpp \ 28 todoview.cpp \
31 todotemplatemanager.cpp \ 29 todotemplatemanager.cpp \
32 todoeditor.cpp \ 30 todoeditor.cpp \
33 todoshow.cpp \ 31 todoshow.cpp \
34 textviewshow.cpp \ 32 textviewshow.cpp \
35 templateeditor.cpp \ 33 templateeditor.cpp \
36 templatedialog.cpp \ 34 templatedialog.cpp \
37 templatedialogimpl.cpp \ 35 templatedialogimpl.cpp \
38 quickeditimpl.cpp \ 36 quickeditimpl.cpp \
39 quickedit.cpp \ 37 quickedit.cpp \
40 otaskeditor.cpp \ 38 otaskeditor.cpp \
41 taskeditoroverviewimpl.cpp \ 39 taskeditoroverviewimpl.cpp \
42 taskeditoradvancedimpl.cpp 40 taskeditoradvancedimpl.cpp
43 41
44 INTERFACES= taskeditoradvanced.ui taskeditoralarms.ui taskeditoroverview.ui 42 INTERFACES= taskeditoradvanced.ui taskeditoralarms.ui taskeditoroverview.ui
45 TARGET = todolist 43 TARGET = todolist
46INCLUDEPATH += $(OPIEDIR)/include 44INCLUDEPATH += $(OPIEDIR)/include
47 DEPENDPATH+= $(OPIEDIR)/include 45 DEPENDPATH+= $(OPIEDIR)/include
48LIBS += -lqpe -lopie 46LIBS += -lqpe -lopie
49 47
50TRANSLATIONS = ../../../i18n/de/todolist.ts \ 48TRANSLATIONS = ../../../i18n/de/todolist.ts \
51 ../../../i18n/da/todolist.ts \ 49 ../../../i18n/da/todolist.ts \
52 ../../../i18n/xx/todolist.ts \ 50 ../../../i18n/xx/todolist.ts \
53 ../../../i18n/en/todolist.ts \ 51 ../../../i18n/en/todolist.ts \