summaryrefslogtreecommitdiffabout
path: root/korganizer/navigatorbar.h
authorzautrix <zautrix>2004-06-26 19:01:18 (UTC)
committer zautrix <zautrix>2004-06-26 19:01:18 (UTC)
commitb9aad1f15dc600e4dbe4c62d3fcced6363188ba3 (patch) (unidiff)
tree2c3d4004fb21c72cba65793859f9bcd8ffd3a49c /korganizer/navigatorbar.h
downloadkdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.zip
kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.gz
kdepimpi-b9aad1f15dc600e4dbe4c62d3fcced6363188ba3.tar.bz2
Initial revision
Diffstat (limited to 'korganizer/navigatorbar.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/navigatorbar.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/korganizer/navigatorbar.h b/korganizer/navigatorbar.h
new file mode 100644
index 0000000..9c5c0cf
--- a/dev/null
+++ b/korganizer/navigatorbar.h
@@ -0,0 +1,66 @@
1/*
2 This file is part of KOrganizer.
3
4 Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org>
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
20 As a special exception, permission is given to link this program
21 with any edition of Qt, and distribute the resulting executable,
22 without including the source code for Qt in the source distribution.
23*/
24#ifndef NAVIGATORBAR_H
25#define NAVIGATORBAR_H
26
27#include <libkcal/incidencebase.h>
28
29#include <qwidget.h>
30
31class QPushButton;
32class QFrame;
33class QLabel;
34
35class NavigatorBar: public QWidget
36{
37 Q_OBJECT
38 public:
39 NavigatorBar( const QDate & date, QWidget *parent = 0, const char *name = 0 );
40 ~NavigatorBar();
41
42 public slots:
43 void selectDates( const KCal::DateList & );
44 void selectMonth();
45
46 signals:
47 void goNextMonth();
48 void goPrevMonth();
49 void goNextYear();
50 void goPrevYear();
51 void monthSelected( int );
52
53
54 private:
55 QFrame *mCtrlFrame;
56
57 QPushButton *mPrevYear;
58 QPushButton *mPrevMonth;
59 QPushButton *mNextMonth;
60 QPushButton *mNextYear;
61 QPushButton *mSelectMonth;
62
63 //QLabel *mDateLabel;
64};
65
66#endif