~ubuntu-branches/ubuntu/intrepid/kdesdk/intrepid-updates

« back to all changes in this revision

Viewing changes to umbrello/umbrello/dialogs/umlentityattributedialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2008-05-28 10:11:43 UTC
  • mto: This revision was merged to the branch mainline in revision 37.
  • Revision ID: james.westby@ubuntu.com-20080528101143-gzc3styjz1b70zxu
Tags: upstream-4.0.80
ImportĀ upstreamĀ versionĀ 4.0.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#ifndef UMLENTITYATTRIBUTEDIALOG_H
13
13
#define UMLENTITYATTRIBUTEDIALOG_H
14
14
 
15
 
#include <kdialogbase.h>
 
15
#include <kdialog.h>
 
16
//Added by qt3to4:
 
17
#include <QLabel>
16
18
 
17
19
/**
18
20
 * @author Jonathan Riddell
19
21
 * Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
20
22
 */
21
23
 
22
 
class QButtonGroup;
 
24
class Q3ButtonGroup;
23
25
class QCheckBox;
24
 
class QGroupBox;
 
26
class Q3GroupBox;
25
27
class QRadioButton;
26
28
class UMLEntityAttribute;
27
29
class KComboBox;
28
 
class QLineEdit;
 
30
class KLineEdit;
29
31
 
30
 
class UMLEntityAttributeDialog : public KDialogBase {
 
32
class UMLEntityAttributeDialog : public KDialog {
31
33
    Q_OBJECT
32
34
public:
33
35
    UMLEntityAttributeDialog( QWidget* pParent, UMLEntityAttribute* pEntityAttribute );
60
62
    UMLEntityAttribute * m_pEntityAttribute;
61
63
 
62
64
    //GUI Widgets
63
 
    QGroupBox * m_pAttsGB, * m_pValuesGB;
64
 
    QButtonGroup * m_pScopeBG;
 
65
    Q3GroupBox * m_pAttsGB, * m_pValuesGB;
 
66
    Q3ButtonGroup * m_pScopeBG;
65
67
    QRadioButton * m_pPublicRB, * m_pPrivateRB,  * m_pProtectedRB, * m_pNoneRB;
66
68
    QLabel * m_pTypeL, * m_pNameL, * m_pInitialL, * m_pStereoTypeL, * m_pValuesL, * m_pAttributesL ;
67
69
    KComboBox * m_pTypeCB;
68
70
    KComboBox * m_pAttributesCB;
69
 
    QLineEdit * m_pNameLE, * m_pInitialLE, * m_pStereoTypeLE, * m_pValuesLE;
 
71
    KLineEdit * m_pNameLE, * m_pInitialLE, * m_pStereoTypeLE, * m_pValuesLE;
70
72
    QCheckBox* m_pAutoIncrementCB;
71
73
    QCheckBox* m_pNullCB;
72
74
 
73
75
public slots:
 
76
 
 
77
    /**
 
78
     * is activated when the auto increment state is changed
 
79
     */
 
80
    void slotAutoIncrementStateChanged(bool checked);
74
81
    /**
75
82
     * I don't think this is used, but if we had an apply button
76
83
     * it would slot into here