summaryrefslogtreecommitdiff
path: root/library/datebookmonth.h
Side-by-side diff
Diffstat (limited to 'library/datebookmonth.h') (more/less context) (ignore whitespace changes)
-rw-r--r--library/datebookmonth.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/library/datebookmonth.h b/library/datebookmonth.h
index a7647ae..3c57c19 100644
--- a/library/datebookmonth.h
+++ b/library/datebookmonth.h
@@ -1,39 +1,39 @@
/**********************************************************************
-** Copyright (C) 2000 Trolltech AS. All rights reserved.
+** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
**
-** This file is part of Qtopia Environment.
+** This file is part of the Qtopia Environment.
**
** This file may be distributed and/or modified under the terms of the
** GNU General Public License version 2 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
** See http://www.trolltech.com/gpl/ for GPL licensing information.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/
#ifndef DATEBOOKMONTH
#define DATEBOOKMONTH
-#include <qpe/event.h>
+#include <qtopia/private/event.h>
#include <qvbox.h>
#include <qhbox.h>
#include <qdatetime.h>
#include <qvaluelist.h>
#include <qtable.h>
#include <qpushbutton.h>
#include "calendar.h"
#include "timestring.h"
class QToolButton;
class QComboBox;
class QSpinBox;
class Event;
class DateBookDB;
@@ -174,32 +174,34 @@ private slots:
private:
DateBookMonthHeader *header;
DateBookMonthTable *table;
int year, month, day;
bool autoClose;
class DateBookMonthPrivate *d;
};
class DateButton : public QPushButton
{
Q_OBJECT
public:
DateButton( bool longDate, QWidget *parent, const char * name = 0 );
QDate date() const { return currDate; }
+ bool customWhatsThis() const;
+
signals:
void dateSelected( int year, int month, int day );
public slots:
void setDate( int y, int m, int d );
void setDate( QDate );
void setWeekStartsMonday( int );
void setDateFormat( DateFormat );
private slots:
void pickDate();
void gotHide();
private:
bool longFormat;
bool weekStartsMonday;