kwave
18.07.70
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
f
h
i
l
m
o
p
r
s
t
u
w
y
z
Functions
Typedefs
Enumerations
+
Enumerator
a
b
c
f
i
l
o
p
r
s
u
w
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
+
Variables
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
x
y
z
Typedefs
Enumerations
+
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
i
l
m
p
q
r
s
t
x
z
Variables
Typedefs
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
SelectDateDialog.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
SelectDateDialog.cpp - dialog for selecting a date
3
-------------------
4
begin : Tue Jul 30 2002
5
copyright : (C) 2002 by Thomas Eschenbacher
6
email : Thomas.Eschenbacher@gmx.de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#include "config.h"
19
20
#include <QPushButton>
21
22
#include <KDatePicker>
23
24
#include "
SelectDateDialog.h
"
25
26
//***************************************************************************
27
Kwave::SelectDateDialog::SelectDateDialog
(QWidget *parent, QDate &date)
28
:QDialog(parent), Ui::SelectDateDlg(), m_date(date)
29
{
30
setupUi(
this
);
31
datePicker->setDate(date);
32
33
// set the focus onto the "OK" button
34
buttonBox->button(QDialogButtonBox::Ok)->setFocus();
35
}
36
37
//***************************************************************************
38
Kwave::SelectDateDialog::~SelectDateDialog
()
39
{
40
}
41
42
//***************************************************************************
43
QDate
Kwave::SelectDateDialog::date
()
44
{
45
return
m_date
;
46
}
47
48
//***************************************************************************
49
void
Kwave::SelectDateDialog::accept
()
50
{
51
m_date
= datePicker->date();
52
QDialog::accept();
53
}
54
55
//***************************************************************************
56
//***************************************************************************
Kwave::SelectDateDialog::~SelectDateDialog
virtual ~SelectDateDialog() Q_DECL_OVERRIDE
Definition:
SelectDateDialog.cpp:38
Kwave::SelectDateDialog::date
virtual QDate date()
Definition:
SelectDateDialog.cpp:43
Kwave::SelectDateDialog::SelectDateDialog
SelectDateDialog(QWidget *parent, QDate &date)
Definition:
SelectDateDialog.cpp:27
Kwave::SelectDateDialog::accept
virtual void accept() Q_DECL_OVERRIDE
Definition:
SelectDateDialog.cpp:49
SelectDateDialog.h
Kwave::SelectDateDialog::m_date
QDate m_date
Definition:
SelectDateDialog.h:55
plugins
fileinfo
SelectDateDialog.cpp
Generated on Sat Mar 24 2018 09:10:26 for kwave by
1.8.13