File indexing completed on 2024-06-16 04:46:16

0001 /*
0002     SPDX-FileCopyrightText: 2009 Cristian Onet onet.cristian @gmail.com
0003     SPDX-FileCopyrightText: 2004 Martin Preuss aquamaniac @users.sourceforge.net
0004     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005 */
0006 #ifndef KBPICKSTARTDATE_H
0007 #define KBPICKSTARTDATE_H
0008 
0009 #include <QDateTime>
0010 #include <QDialog>
0011 
0012 class KBankingExt;
0013 
0014 /**
0015   * Class derived from QBPickStartDate and modified to
0016   * be based on KDE widgets
0017   *
0018   * @author Martin Preuss
0019   * @author Thomas Baumgart
0020   */
0021 class KBPickStartDate : public QDialog
0022 {
0023     Q_OBJECT
0024 public:
0025     KBPickStartDate(KBankingExt* qb,
0026                     const QDate &firstPossible,
0027                     const QDate &lastUpdate,
0028                     const QString& accountName,
0029                     int defaultChoice,
0030                     QWidget* parent = 0,
0031                     bool modal = false);
0032     ~KBPickStartDate();
0033 
0034     QDate date();
0035 
0036 public Q_SLOTS:
0037     void slotHelpClicked();
0038 
0039 private:
0040     /// \internal d-pointer class.
0041     struct Private;
0042     /// \internal d-pointer instance.
0043     Private* const d;
0044 };
0045 
0046 #endif