Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/wizards/endingbalancedlg/checkingstatementinfowizardpage.cpp
Context not available. | |||||
20 | // ---------------------------------------------------------------------------- | 20 | // ---------------------------------------------------------------------------- | ||
---|---|---|---|---|---|
21 | // QT Includes | 21 | // QT Includes | ||
22 | 22 | | |||
23 | | ||||
24 | // ---------------------------------------------------------------------------- | 23 | // ---------------------------------------------------------------------------- | ||
25 | // KDE Includes | 24 | // KDE Includes | ||
26 | 25 | | |||
27 | | ||||
28 | // ---------------------------------------------------------------------------- | 26 | // ---------------------------------------------------------------------------- | ||
29 | // Project Includes | 27 | // Project Includes | ||
30 | 28 | | |||
29 | #include "ui_checkingstatementinfowizardpage.h" | ||||
31 | 30 | | |||
32 | CheckingStatementInfoWizardPage::CheckingStatementInfoWizardPage(QWidget *parent) | 31 | CheckingStatementInfoWizardPage::CheckingStatementInfoWizardPage(QWidget *parent) : | ||
33 | : CheckingStatementInfoWizardPageDecl(parent) | 32 | QWizardPage(parent), | ||
33 | ui(new Ui::CheckingStatementInfoWizardPage) | ||||
34 | { | 34 | { | ||
35 | m_statementDate->setDate(QDate::currentDate()); | 35 | ui->setupUi(this); | ||
36 | ui->m_statementDate->setDate(QDate::currentDate()); | ||||
36 | 37 | | |||
37 | // Register the fields with the QWizard and connect the | 38 | // Register the fields with the QWizard and connect the | ||
38 | // appropriate signals to update the "Next" button correctly | 39 | // appropriate signals to update the "Next" button correctly | ||
39 | registerField("statementDate", m_statementDate, "date", SIGNAL(dateChanged(QDate))); | 40 | registerField("statementDate", ui->m_statementDate, "date", SIGNAL(dateChanged(QDate))); | ||
40 | 41 | | |||
41 | registerField("endingBalance", m_endingBalance, "value", SIGNAL(textChanged())); | 42 | registerField("endingBalance", ui->m_endingBalance, "value", SIGNAL(textChanged())); | ||
42 | registerField("endingBalanceValid", m_endingBalance, "valid", SIGNAL(textChanged())); | 43 | registerField("endingBalanceValid", ui->m_endingBalance, "valid", SIGNAL(textChanged())); | ||
43 | registerField("previousBalance", m_previousBalance, "value", SIGNAL(textChanged())); | 44 | registerField("previousBalance", ui->m_previousBalance, "value", SIGNAL(textChanged())); | ||
44 | registerField("previousBalanceValid", m_previousBalance, "valid", SIGNAL(textChanged())); | 45 | registerField("previousBalanceValid", ui->m_previousBalance, "valid", SIGNAL(textChanged())); | ||
46 | } | ||||
47 | | ||||
48 | CheckingStatementInfoWizardPage::~CheckingStatementInfoWizardPage() | ||||
49 | { | ||||
50 | delete ui; | ||||
45 | } | 51 | } | ||
46 | 52 | | |||
Context not available. |