summaryrefslogtreecommitdiffabout
path: root/korganizer/kdatenavigator.h
Side-by-side diff
Diffstat (limited to 'korganizer/kdatenavigator.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kdatenavigator.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/korganizer/kdatenavigator.h b/korganizer/kdatenavigator.h
index 3ae1648..0aeb77a 100644
--- a/korganizer/kdatenavigator.h
+++ b/korganizer/kdatenavigator.h
@@ -41,11 +41,9 @@ class NavigatorBar;
class KDateNavigator: public QFrame
{
Q_OBJECT
public:
- KDateNavigator( QWidget *parent = 0, Calendar *calendar = 0,
- bool show_week_numbers = false, const char *name = 0,
- QDate date = QDate::currentDate() );
+ KDateNavigator( QWidget *parent = 0,const char *name = 0 );
~KDateNavigator();
/** The DateNavigator automatically checks for
* the passage of midnight. If rollover type is
@@ -60,8 +58,12 @@ class KDateNavigator: public QFrame
enum RolloverType { None, FollowDay, FollowMonth } ;
void enableRollover( RolloverType );
void setShowWeekNums( bool enabled );
+ void setCalendar( Calendar * );
+ void setBaseDate( const QDate & );
+ KCal::DateList selectedDates() const { return mSelectedDates; }
+ NavigatorBar *navigatorBar() const { return mNavigatorBar; }
public slots:
void selectDates( const KCal::DateList & );
void updateView();