-rw-r--r-- | core/pim/today/TODO | 5 | ||||
-rw-r--r-- | core/pim/today/today.cpp | 10 | ||||
-rw-r--r-- | core/pim/today/today.h | 1 | ||||
-rw-r--r-- | core/pim/today/todaybase.cpp | 3 | ||||
-rw-r--r-- | core/pim/today/todaybase.h | 11 |
5 files changed, 22 insertions, 8 deletions
diff --git a/core/pim/today/TODO b/core/pim/today/TODO index 6acbf5a..30a8bab 100644 --- a/core/pim/today/TODO +++ b/core/pim/today/TODO | |||
@@ -1,8 +1,11 @@ | |||
1 | TODO for today: | 1 | TODO for today: |
2 | 2 | ||
3 | * show "upcoming appointents the next days .. one or too" | ||
4 | |||
3 | * show alarm icons on alarm events (partly done) | 5 | * show alarm icons on alarm events (partly done) |
4 | 6 | ||
5 | * qcop integration for updating events? | 7 | * qcop integration for updating events? |
6 | 8 | ||
7 | * make Opiezilla a clickable label wich is allway on the far right side of | 9 | * make Opiezilla a clickable label wich is allway on the far right side of |
8 | the screen , klick will open credits ,) \ No newline at end of file | 10 | the screen , klick will open credits ,) |
11 | |||
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 4368201..69a0f75 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp | |||
@@ -47,48 +47,49 @@ | |||
47 | #include <unistd.h> | 47 | #include <unistd.h> |
48 | #include <stdlib.h> | 48 | #include <stdlib.h> |
49 | 49 | ||
50 | int MAX_LINES_TASK; | 50 | int MAX_LINES_TASK; |
51 | int MAX_CHAR_CLIP; | 51 | int MAX_CHAR_CLIP; |
52 | int MAX_LINES_MEET; | 52 | int MAX_LINES_MEET; |
53 | int SHOW_LOCATION; | 53 | int SHOW_LOCATION; |
54 | int SHOW_NOTES; | 54 | int SHOW_NOTES; |
55 | // show only later dates | 55 | // show only later dates |
56 | int ONLY_LATER; | 56 | int ONLY_LATER; |
57 | int AUTOSTART; | 57 | int AUTOSTART; |
58 | int NEW_START=1; | 58 | int NEW_START=1; |
59 | QString AUTOSTART_TIMER; | 59 | QString AUTOSTART_TIMER; |
60 | 60 | ||
61 | /* | 61 | /* |
62 | * Constructs a Example which is a child of 'parent', with the | 62 | * Constructs a Example which is a child of 'parent', with the |
63 | * name 'name' and widget flags set to 'f' | 63 | * name 'name' and widget flags set to 'f' |
64 | */ | 64 | */ |
65 | Today::Today( QWidget* parent, const char* name, WFlags fl ) | 65 | Today::Today( QWidget* parent, const char* name, WFlags fl ) |
66 | : TodayBase( parent, name, fl ), AllDateBookEvents(NULL) { | 66 | : TodayBase( parent, name, fl ), AllDateBookEvents(NULL) { |
67 | QObject::connect( (QObject*)PushButton1, SIGNAL( clicked() ), this, SLOT(startConfig() ) ); | 67 | QObject::connect( (QObject*)PushButton1, SIGNAL( clicked() ), this, SLOT(startConfig() ) ); |
68 | QObject::connect( (QObject*)TodoButton, SIGNAL( clicked() ), this, SLOT(startTodo() ) ); | 68 | QObject::connect( (QObject*)TodoButton, SIGNAL( clicked() ), this, SLOT(startTodo() ) ); |
69 | QObject::connect( (QObject*)DatesButton, SIGNAL( clicked() ), this, SLOT(startDatebook() ) ); | 69 | QObject::connect( (QObject*)DatesButton, SIGNAL( clicked() ), this, SLOT(startDatebook() ) ); |
70 | QObject::connect( (QObject*)MailButton, SIGNAL( clicked() ), this, SLOT(startMail() ) ); | 70 | QObject::connect( (QObject*)MailButton, SIGNAL( clicked() ), this, SLOT(startMail() ) ); |
71 | QObject::connect( (QObject*)OwnerField, SIGNAL( clicked() ), this, SLOT(editCard() ) ); | ||
71 | 72 | ||
72 | #if defined(Q_WS_QWS) | 73 | #if defined(Q_WS_QWS) |
73 | #if !defined(QT_NO_COP) | 74 | #if !defined(QT_NO_COP) |
74 | QCopChannel *todayChannel = new QCopChannel("QPE/Today" , this ); | 75 | QCopChannel *todayChannel = new QCopChannel("QPE/Today" , this ); |
75 | connect (todayChannel, SIGNAL( received(const QCString &, const QByteArray &)), | 76 | connect (todayChannel, SIGNAL( received(const QCString &, const QByteArray &)), |
76 | this, SLOT ( channelReceived(const QCString &, const QByteArray &)) ); | 77 | this, SLOT ( channelReceived(const QCString &, const QByteArray &)) ); |
77 | #endif | 78 | #endif |
78 | #endif | 79 | #endif |
79 | 80 | ||
80 | 81 | ||
81 | 82 | ||
82 | db = NULL; | 83 | db = NULL; |
83 | setOwnerField(); | 84 | setOwnerField(); |
84 | todo = new ToDoDB; | 85 | todo = new ToDoDB; |
85 | draw(); | 86 | draw(); |
86 | getTodo(); | 87 | getTodo(); |
87 | autoStart(); | 88 | autoStart(); |
88 | } | 89 | } |
89 | 90 | ||
90 | /* | 91 | /* |
91 | * Qcop receive method. | 92 | * Qcop receive method. |
92 | */ | 93 | */ |
93 | void Today::channelReceived(const QCString &msg, const QByteArray & data) { | 94 | void Today::channelReceived(const QCString &msg, const QByteArray & data) { |
94 | QDataStream stream(data, IO_ReadOnly ); | 95 | QDataStream stream(data, IO_ReadOnly ); |
@@ -398,48 +399,57 @@ void Today::getTodo() { | |||
398 | // not the overdues, we allready got them, and not if we are | 399 | // not the overdues, we allready got them, and not if we are |
399 | // over the maxlines | 400 | // over the maxlines |
400 | if (!(*it).isOverdue() && ( ammount < MAX_LINES_TASK) ) { | 401 | if (!(*it).isOverdue() && ( ammount < MAX_LINES_TASK) ) { |
401 | tmpout += "<b>-</b>" + ((*it).description()).mid(0, MAX_CHAR_CLIP) + "<br>"; | 402 | tmpout += "<b>-</b>" + ((*it).description()).mid(0, MAX_CHAR_CLIP) + "<br>"; |
402 | ammount++; | 403 | ammount++; |
403 | } | 404 | } |
404 | } | 405 | } |
405 | } | 406 | } |
406 | 407 | ||
407 | 408 | ||
408 | if (count > 0) { | 409 | if (count > 0) { |
409 | if( count == 1 ) { | 410 | if( count == 1 ) { |
410 | output = tr("There is <b> 1</b> active task: <br>" ); | 411 | output = tr("There is <b> 1</b> active task: <br>" ); |
411 | } else { | 412 | } else { |
412 | output = tr("There are <b> %1</b> active tasks: <br>").arg(count); | 413 | output = tr("There are <b> %1</b> active tasks: <br>").arg(count); |
413 | } | 414 | } |
414 | output += tmpout; | 415 | output += tmpout; |
415 | } else { | 416 | } else { |
416 | output = tr("No active tasks"); | 417 | output = tr("No active tasks"); |
417 | } | 418 | } |
418 | 419 | ||
419 | TodoField->setText(tr(output)); | 420 | TodoField->setText(tr(output)); |
420 | } | 421 | } |
421 | 422 | ||
423 | |||
424 | /* | ||
425 | * launch addressbook | ||
426 | */ | ||
427 | void Today::editCard() { | ||
428 | QCopEnvelope e("QPE/System", "execute(QString)"); | ||
429 | e << QString("addressbook"); | ||
430 | } | ||
431 | |||
422 | /* | 432 | /* |
423 | * launches datebook | 433 | * launches datebook |
424 | */ | 434 | */ |
425 | void Today::startDatebook() { | 435 | void Today::startDatebook() { |
426 | QCopEnvelope e("QPE/System", "execute(QString)"); | 436 | QCopEnvelope e("QPE/System", "execute(QString)"); |
427 | e << QString("datebook"); | 437 | e << QString("datebook"); |
428 | } | 438 | } |
429 | 439 | ||
430 | /* | 440 | /* |
431 | * starts the edit dialog as known from datebook | 441 | * starts the edit dialog as known from datebook |
432 | */ | 442 | */ |
433 | 443 | ||
434 | extern QPEApplication *todayApp; | 444 | extern QPEApplication *todayApp; |
435 | 445 | ||
436 | void Today::editEvent(const Event &e) { | 446 | void Today::editEvent(const Event &e) { |
437 | startDatebook(); | 447 | startDatebook(); |
438 | 448 | ||
439 | while(!QCopChannel::isRegistered("QPE/Datebook")) todayApp->processEvents(); | 449 | while(!QCopChannel::isRegistered("QPE/Datebook")) todayApp->processEvents(); |
440 | QCopEnvelope env("QPE/Datebook", "editEvent(int)"); | 450 | QCopEnvelope env("QPE/Datebook", "editEvent(int)"); |
441 | env << e.uid(); | 451 | env << e.uid(); |
442 | } | 452 | } |
443 | 453 | ||
444 | /* | 454 | /* |
445 | * launches todolist | 455 | * launches todolist |
diff --git a/core/pim/today/today.h b/core/pim/today/today.h index 32bb4a3..54f31cc 100644 --- a/core/pim/today/today.h +++ b/core/pim/today/today.h | |||
@@ -26,48 +26,49 @@ | |||
26 | 26 | ||
27 | #include <opie/tododb.h> | 27 | #include <opie/tododb.h> |
28 | #include <opie/oclickablelabel.h> | 28 | #include <opie/oclickablelabel.h> |
29 | 29 | ||
30 | #include <qdatetime.h> | 30 | #include <qdatetime.h> |
31 | #include <qlist.h> | 31 | #include <qlist.h> |
32 | 32 | ||
33 | #include "todayconfig.h" | 33 | #include "todayconfig.h" |
34 | #include "todaybase.h" | 34 | #include "todaybase.h" |
35 | 35 | ||
36 | class QVBoxLayout; | 36 | class QVBoxLayout; |
37 | 37 | ||
38 | class Today : public TodayBase { | 38 | class Today : public TodayBase { |
39 | Q_OBJECT | 39 | Q_OBJECT |
40 | 40 | ||
41 | public: | 41 | public: |
42 | Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 42 | Today( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
43 | ~Today(); | 43 | ~Today(); |
44 | 44 | ||
45 | private slots: | 45 | private slots: |
46 | void startConfig(); | 46 | void startConfig(); |
47 | void startTodo(); | 47 | void startTodo(); |
48 | void startDatebook(); | 48 | void startDatebook(); |
49 | void startMail(); | 49 | void startMail(); |
50 | void editCard(); | ||
50 | void draw(); | 51 | void draw(); |
51 | void editEvent(const Event &e); | 52 | void editEvent(const Event &e); |
52 | private: | 53 | private: |
53 | void init(); | 54 | void init(); |
54 | void getDates(); | 55 | void getDates(); |
55 | void getTodo(); | 56 | void getTodo(); |
56 | void getMail(); | 57 | void getMail(); |
57 | void autoStart(); | 58 | void autoStart(); |
58 | bool checkIfModified(); | 59 | bool checkIfModified(); |
59 | void setOwnerField(); | 60 | void setOwnerField(); |
60 | void setOwnerField(QString &string); | 61 | void setOwnerField(QString &string); |
61 | private slots: | 62 | private slots: |
62 | void channelReceived(const QCString &msg, const QByteArray & data); | 63 | void channelReceived(const QCString &msg, const QByteArray & data); |
63 | 64 | ||
64 | private: | 65 | private: |
65 | DateBookDB *db; | 66 | DateBookDB *db; |
66 | ToDoDB *todo; | 67 | ToDoDB *todo; |
67 | todayconfig *conf; | 68 | todayconfig *conf; |
68 | QWidget* AllDateBookEvents; | 69 | QWidget* AllDateBookEvents; |
69 | //Config cfg; | 70 | //Config cfg; |
70 | int MAX_LINES_TASK; | 71 | int MAX_LINES_TASK; |
71 | int MAX_CHAR_CLIP; | 72 | int MAX_CHAR_CLIP; |
72 | int MAX_LINES_MEET; | 73 | int MAX_LINES_MEET; |
73 | int SHOW_LOCATION; | 74 | int SHOW_LOCATION; |
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp index 3d0bfb3..bc1651d 100644 --- a/core/pim/today/todaybase.cpp +++ b/core/pim/today/todaybase.cpp | |||
@@ -36,98 +36,97 @@ | |||
36 | * Constructs a TodayBase which is a child of 'parent', with the | 36 | * Constructs a TodayBase which is a child of 'parent', with the |
37 | * name 'name' and widget flags set to 'f' | 37 | * name 'name' and widget flags set to 'f' |
38 | */ | 38 | */ |
39 | TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) | 39 | TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) |
40 | : QWidget( parent, name, fl ) | 40 | : QWidget( parent, name, fl ) |
41 | { | 41 | { |
42 | QPixmap logo = Resource::loadPixmap( "today/today_logo"); // logo | 42 | QPixmap logo = Resource::loadPixmap( "today/today_logo"); // logo |
43 | QPixmap datebook = Resource::loadPixmap("DateBook"); // datebook | 43 | QPixmap datebook = Resource::loadPixmap("DateBook"); // datebook |
44 | QPixmap todo = Resource::loadPixmap( "TodoList" ); // todo | 44 | QPixmap todo = Resource::loadPixmap( "TodoList" ); // todo |
45 | QPixmap config = Resource::loadPixmap( "today/config" ); // config icon | 45 | QPixmap config = Resource::loadPixmap( "today/config" ); // config icon |
46 | QPixmap mail = Resource::loadPixmap( "today/mail" ); // mail icon | 46 | QPixmap mail = Resource::loadPixmap( "today/mail" ); // mail icon |
47 | QPixmap opiezilla = Resource::loadPixmap("today/opiezilla" ); //the opiezilla | 47 | QPixmap opiezilla = Resource::loadPixmap("today/opiezilla" ); //the opiezilla |
48 | 48 | ||
49 | QWidget *d = QApplication::desktop(); | 49 | QWidget *d = QApplication::desktop(); |
50 | int w=d->width(); | 50 | int w=d->width(); |
51 | int h=d->height(); | 51 | int h=d->height(); |
52 | resize( w , h ); | 52 | resize( w , h ); |
53 | 53 | ||
54 | // hehe, qt is ... | 54 | // hehe, qt is ... |
55 | getridoffuckingstrippeldlinesbutton = new QPushButton (this, "asdfsad" ); | 55 | getridoffuckingstrippeldlinesbutton = new QPushButton (this, "asdfsad" ); |
56 | getridoffuckingstrippeldlinesbutton->setGeometry( QRect( -5, 10, 0, 0 ) ); | 56 | getridoffuckingstrippeldlinesbutton->setGeometry( QRect( -5, 10, 0, 0 ) ); |
57 | 57 | ||
58 | QVBoxLayout * layout = new QVBoxLayout(this); | 58 | QVBoxLayout * layout = new QVBoxLayout(this); |
59 | 59 | ||
60 | |||
61 | QPalette pal = this->palette(); | 60 | QPalette pal = this->palette(); |
62 | QColor col = pal.color(QPalette::Active, QColorGroup::Background); | 61 | QColor col = pal.color(QPalette::Active, QColorGroup::Background); |
63 | pal.setColor(QPalette::Active, QColorGroup::Button, col); | 62 | pal.setColor(QPalette::Active, QColorGroup::Button, col); |
64 | pal.setColor(QPalette::Inactive, QColorGroup::Button, col); | 63 | pal.setColor(QPalette::Inactive, QColorGroup::Button, col); |
65 | pal.setColor(QPalette::Normal, QColorGroup::Button, col); | 64 | pal.setColor(QPalette::Normal, QColorGroup::Button, col); |
66 | pal.setColor(QPalette::Disabled, QColorGroup::Button, col); | 65 | pal.setColor(QPalette::Disabled, QColorGroup::Button, col); |
67 | this->setPalette(pal); | 66 | this->setPalette(pal); |
68 | 67 | ||
69 | // --- logo Section --- | 68 | // --- logo Section --- |
70 | QPalette pal2; | 69 | QPalette pal2; |
71 | QColorGroup cg; | 70 | QColorGroup cg; |
72 | cg.setColor( QColorGroup::Text, white ); | 71 | cg.setColor( QColorGroup::Text, white ); |
73 | cg.setBrush( QColorGroup::Background, QBrush( QColor( 238, 238, 230), logo ) ); | 72 | cg.setBrush( QColorGroup::Background, QBrush( QColor( 238, 238, 230), logo ) ); |
74 | pal2.setActive( cg ); | 73 | pal2.setActive( cg ); |
75 | // today logo | 74 | // today logo |
76 | Frame = new QLabel( this, "Frame" ); | 75 | Frame = new QLabel( this, "Frame" ); |
77 | Frame->setPalette( pal2 ); | 76 | Frame->setPalette( pal2 ); |
78 | Frame->setFrameShape( QFrame::StyledPanel ); | 77 | Frame->setFrameShape( QFrame::StyledPanel ); |
79 | Frame->setFrameShadow( QFrame::Raised ); | 78 | Frame->setFrameShadow( QFrame::Raised ); |
80 | Frame->setLineWidth( 0 ); | 79 | Frame->setLineWidth( 0 ); |
81 | Frame->setMaximumHeight(50); | 80 | Frame->setMaximumHeight(50); |
82 | Frame->setMinimumHeight(50); | 81 | Frame->setMinimumHeight(50); |
83 | 82 | ||
84 | // Today text | 83 | // Today text |
85 | QLabel* TodayLabel = new QLabel( Frame, "TodayText" ); | 84 | QLabel* TodayLabel = new QLabel( Frame, "TodayText" ); |
86 | TodayLabel->setGeometry( QRect( 10, 0, 168, 40 ) ); | 85 | TodayLabel->setGeometry( QRect( 10, 0, 168, 40 ) ); |
87 | QFont TodayLabel_font( TodayLabel->font() ); | 86 | QFont TodayLabel_font( TodayLabel->font() ); |
88 | TodayLabel_font.setBold( TRUE ); | 87 | TodayLabel_font.setBold( TRUE ); |
89 | TodayLabel_font.setPointSize(40); | 88 | TodayLabel_font.setPointSize(40); |
90 | TodayLabel->setFont( TodayLabel_font ); | 89 | TodayLabel->setFont( TodayLabel_font ); |
91 | TodayLabel->setBackgroundOrigin( QLabel::ParentOrigin ); | 90 | TodayLabel->setBackgroundOrigin( QLabel::ParentOrigin ); |
92 | TodayLabel->setText("<font color=#FFFFFF>" + tr("Today") +"</font>"); | 91 | TodayLabel->setText("<font color=#FFFFFF>" + tr("Today") +"</font>"); |
93 | 92 | ||
94 | // Opiezilla | 93 | // Opiezilla |
95 | QLabel* Opiezilla = new QLabel( Frame, "OpieZilla"); | 94 | QLabel* Opiezilla = new QLabel( Frame, "OpieZilla"); |
96 | Opiezilla->setPixmap( opiezilla ); | 95 | Opiezilla->setPixmap( opiezilla ); |
97 | Opiezilla->setGeometry( this->width()-50 ,1, 45, 47); | 96 | Opiezilla->setGeometry( this->width()-50 ,1, 45, 47); |
98 | Opiezilla->setBackgroundOrigin( QLabel::ParentOrigin ); | 97 | Opiezilla->setBackgroundOrigin( QLabel::ParentOrigin ); |
99 | 98 | ||
100 | // date | 99 | // date |
101 | TextLabel1 = new QLabel( Frame, "TextLabel1" ); | 100 | TextLabel1 = new QLabel( Frame, "TextLabel1" ); |
102 | TextLabel1->setGeometry( QRect( 10, 35, 168, 12 ) ); | 101 | TextLabel1->setGeometry( QRect( 10, 35, 168, 12 ) ); |
103 | QFont TextLabel1_font( TextLabel1->font() ); | 102 | QFont TextLabel1_font( TextLabel1->font() ); |
104 | TextLabel1_font.setBold( TRUE ); | 103 | TextLabel1_font.setBold( TRUE ); |
105 | TextLabel1->setFont( TextLabel1_font ); | 104 | TextLabel1->setFont( TextLabel1_font ); |
106 | TextLabel1->setBackgroundOrigin( QLabel::ParentOrigin ); | 105 | TextLabel1->setBackgroundOrigin( QLabel::ParentOrigin ); |
107 | TextLabel1->setTextFormat( RichText ); | 106 | TextLabel1->setTextFormat( RichText ); |
108 | 107 | ||
109 | OwnerField = new QLabel(this , "Owner" ); | 108 | OwnerField = new OClickableLabel(this , "Owner" ); |
110 | OwnerField->setGeometry(QRect(0,0, this->width(), 12 )); | 109 | OwnerField->setGeometry(QRect(0,0, this->width(), 12 )); |
111 | OwnerField->setAlignment(int (QLabel::AlignTop | QLabel::AlignLeft ) ); | 110 | OwnerField->setAlignment(int (QLabel::AlignTop | QLabel::AlignLeft ) ); |
112 | OwnerField->setMaximumHeight(12); | 111 | OwnerField->setMaximumHeight(12); |
113 | 112 | ||
114 | // --- dates section --- | 113 | // --- dates section --- |
115 | Frame4 = new QFrame( this, "Frame4" ); | 114 | Frame4 = new QFrame( this, "Frame4" ); |
116 | // Frame4->setPalette( pal ); | 115 | // Frame4->setPalette( pal ); |
117 | Frame4->setFrameShape( QScrollView::StyledPanel ); | 116 | Frame4->setFrameShape( QScrollView::StyledPanel ); |
118 | Frame4->setFrameShadow( QScrollView::Sunken ); | 117 | Frame4->setFrameShadow( QScrollView::Sunken ); |
119 | Frame4->setBackgroundOrigin( QScrollView::ParentOrigin ); | 118 | Frame4->setBackgroundOrigin( QScrollView::ParentOrigin ); |
120 | Frame4->setFrameStyle( QFrame::NoFrame ); | 119 | Frame4->setFrameStyle( QFrame::NoFrame ); |
121 | Frame4->setGeometry (QRect( 0, 8, this->width() , this->height()) ); | 120 | Frame4->setGeometry (QRect( 0, 8, this->width() , this->height()) ); |
122 | 121 | ||
123 | sv1 = new QScrollView( Frame4 ); | 122 | sv1 = new QScrollView( Frame4 ); |
124 | sv1->setResizePolicy(QScrollView::AutoOneFit); | 123 | sv1->setResizePolicy(QScrollView::AutoOneFit); |
125 | sv1->setHScrollBarMode( QScrollView::AlwaysOff ); | 124 | sv1->setHScrollBarMode( QScrollView::AlwaysOff ); |
126 | // need to find a better way!!! | 125 | // need to find a better way!!! |
127 | sv1->setGeometry (QRect( 40, 2, Frame4->width()-40 , (Frame4->height()/3)+20 ) ); | 126 | sv1->setGeometry (QRect( 40, 2, Frame4->width()-40 , (Frame4->height()/3)+20 ) ); |
128 | sv1->setFrameShape(QFrame::NoFrame); | 127 | sv1->setFrameShape(QFrame::NoFrame); |
129 | 128 | ||
130 | DatesButton = new QPushButton (Frame4, "DatesButton" ); | 129 | DatesButton = new QPushButton (Frame4, "DatesButton" ); |
131 | DatesButton->setGeometry( QRect( 2, 4, 36, 32 ) ); | 130 | DatesButton->setGeometry( QRect( 2, 4, 36, 32 ) ); |
132 | DatesButton->setBackgroundOrigin( QPushButton::WidgetOrigin ); | 131 | DatesButton->setBackgroundOrigin( QPushButton::WidgetOrigin ); |
133 | DatesButton->setPalette( pal ); | 132 | DatesButton->setPalette( pal ); |
diff --git a/core/pim/today/todaybase.h b/core/pim/today/todaybase.h index 0118faa..ec06281 100644 --- a/core/pim/today/todaybase.h +++ b/core/pim/today/todaybase.h | |||
@@ -1,54 +1,55 @@ | |||
1 | /**************************************************************************** | 1 | /**************************************************************************** |
2 | ** Form interface generated from reading ui file 'todaybase.ui' | 2 | ** Form interface generated from reading ui file 'todaybase.ui' |
3 | ** | 3 | ** |
4 | ** Created: Wed Feb 13 19:36:45 2002 | 4 | ** Created: Wed Feb 13 19:36:45 2002 |
5 | ** by: The User Interface Compiler (uic) | 5 | ** by: The User Interface Compiler (uic) |
6 | ** | 6 | ** |
7 | ** WARNING! All changes made in this file will be lost! | 7 | ** WARNING! All changes made in this file will be lost! |
8 | ****************************************************************************/ | 8 | ****************************************************************************/ |
9 | #ifndef TODAYBASE_H | 9 | #ifndef TODAYBASE_H |
10 | #define TODAYBASE_H | 10 | #define TODAYBASE_H |
11 | 11 | ||
12 | #include <qvariant.h> | 12 | #include <qvariant.h> |
13 | #include <qwidget.h> | 13 | #include <qwidget.h> |
14 | #include <qscrollview.h> | 14 | #include <qscrollview.h> |
15 | #include <qsplitter.h> | 15 | #include <qsplitter.h> |
16 | #include <opie/oclickablelabel.h> | ||
16 | 17 | ||
17 | class QVBox; | 18 | class QVBox; |
18 | class QHBoxLayout; | 19 | class QHBoxLayout; |
19 | class QGridLayout; | 20 | class QGridLayout; |
20 | class QFrame; | 21 | class QFrame; |
21 | class QLabel; | 22 | class QLabel; |
22 | class QPushButton; | 23 | class QPushButton; |
23 | 24 | ||
24 | class TodayBase : public QWidget | 25 | class TodayBase : public QWidget |
25 | { | 26 | { |
26 | Q_OBJECT | 27 | Q_OBJECT |
27 | 28 | ||
28 | public: | 29 | public: |
29 | TodayBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 30 | TodayBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
30 | ~TodayBase(); | 31 | ~TodayBase(); |
31 | 32 | ||
32 | //QScrollView* Frame4; | 33 | //QScrollView* Frame4; |
33 | QFrame* Frame4; | 34 | QFrame* Frame4; |
34 | QPushButton* DatesButton; | 35 | QPushButton* DatesButton; |
35 | QLabel* OwnerField; | 36 | OClickableLabel* OwnerField; |
36 | QLabel* Frame; | 37 | QLabel* Frame; |
37 | QFrame* MailFrame; | 38 | QFrame* MailFrame; |
38 | QLabel* TextLabel1; | 39 | QLabel* TextLabel1; |
39 | QScrollView* sv1; | 40 | QScrollView* sv1; |
40 | QVBox* DatesField; | 41 | QVBox* DatesField; |
41 | QFrame* Frame15; | 42 | QFrame* Frame15; |
42 | QLabel* TodoField; | 43 | QLabel* TodoField; |
43 | QLabel* MailField; | 44 | QLabel* MailField; |
44 | QPushButton* PushButton1; | 45 | QPushButton* PushButton1; |
45 | QPushButton* TodoButton; | 46 | QPushButton* TodoButton; |
46 | QPushButton* MailButton; | 47 | QPushButton* MailButton; |
47 | QPushButton* getridoffuckingstrippeldlinesbutton; | 48 | QPushButton* getridoffuckingstrippeldlinesbutton; |
48 | 49 | ||
49 | protected: | 50 | protected: |
50 | 51 | ||
51 | 52 | ||
52 | }; | 53 | }; |
53 | 54 | ||
54 | #endif // TODAYBASE_H | 55 | #endif // TODAYBASE_H |