~ubuntu-branches/ubuntu/quantal/kdepim/quantal

« back to all changes in this revision

Viewing changes to kalarm/birthdaydlg.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 14:17:51 UTC
  • mto: This revision was merged to the branch mainline in revision 193.
  • Revision ID: package-import@ubuntu.com-20111215141751-bmhdpiwl23wd9w26
Tags: upstream-4.7.90
Import upstream version 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 *  birthdaydlg.h  -  dialog to pick birthdays from address book
3
3
 *  Program:  kalarm
4
 
 *  Copyright © 2002-2005,2007-2009 by David Jarvie <djarvie@kde.org>
 
4
 *  Copyright © 2002-2005,2007-2011 by David Jarvie <djarvie@kde.org>
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
20
20
#ifndef BIRTHDAYDLG_H
21
21
#define BIRTHDAYDLG_H
22
22
 
23
 
#include "kaevent.h"
 
23
#include <kalarmcal/kaevent.h>
24
24
 
25
25
#include <kdialog.h>
26
26
#include <klineedit.h>
27
 
#include <QList>
 
27
#include <QVector>
28
28
 
29
29
class QFocusEvent;
30
30
class QTreeView;
38
38
class BLineEdit;
39
39
class BirthdaySortModel;
40
40
 
 
41
using namespace KAlarmCal;
41
42
 
42
43
class BirthdayDlg : public KDialog
43
44
{
44
45
        Q_OBJECT
45
46
    public:
46
47
        explicit BirthdayDlg(QWidget* parent = 0);
47
 
        QList<KAEvent> events() const;
 
48
        QVector<KAEvent> events() const;
48
49
 
49
50
    protected slots:
50
51
        virtual void   slotOk();
69
70
        RepetitionButton*     mSubRepetition;
70
71
        QString               mPrefixText;   // last entered value of prefix text
71
72
        QString               mSuffixText;   // last entered value of suffix text
72
 
        int                   mFlags;        // event flag bits
 
73
        KAEvent::Flags        mFlags;        // event flag bits
73
74
};
74
75
 
75
76