equal
deleted
inserted
replaced
81 Q_PROPERTY(bool dragEnabled READ dragEnabled WRITE setDragEnabled) |
81 Q_PROPERTY(bool dragEnabled READ dragEnabled WRITE setDragEnabled) |
82 Q_PROPERTY(bool readOnly READ isReadOnly WRITE setReadOnly) |
82 Q_PROPERTY(bool readOnly READ isReadOnly WRITE setReadOnly) |
83 Q_PROPERTY(bool undoAvailable READ isUndoAvailable) |
83 Q_PROPERTY(bool undoAvailable READ isUndoAvailable) |
84 Q_PROPERTY(bool redoAvailable READ isRedoAvailable) |
84 Q_PROPERTY(bool redoAvailable READ isRedoAvailable) |
85 Q_PROPERTY(bool acceptableInput READ hasAcceptableInput) |
85 Q_PROPERTY(bool acceptableInput READ hasAcceptableInput) |
86 // ### Qt 4.7: remove this #if guard |
|
87 #if (QT_VERSION >= 0x407000) || defined(Q_WS_MAEMO_5) |
|
88 Q_PROPERTY(QString placeholderText READ placeholderText WRITE setPlaceholderText) |
86 Q_PROPERTY(QString placeholderText READ placeholderText WRITE setPlaceholderText) |
89 #endif |
|
90 |
87 |
91 public: |
88 public: |
92 explicit QLineEdit(QWidget* parent=0); |
89 explicit QLineEdit(QWidget* parent=0); |
93 explicit QLineEdit(const QString &, QWidget* parent=0); |
90 explicit QLineEdit(const QString &, QWidget* parent=0); |
94 #ifdef QT3_SUPPORT |
91 #ifdef QT3_SUPPORT |
100 |
97 |
101 QString text() const; |
98 QString text() const; |
102 |
99 |
103 QString displayText() const; |
100 QString displayText() const; |
104 |
101 |
105 // ### Qt 4.7: remove this #if guard |
|
106 #if (QT_VERSION >= 0x407000) || defined(Q_WS_MAEMO_5) |
|
107 QString placeholderText() const; |
102 QString placeholderText() const; |
108 void setPlaceholderText(const QString &); |
103 void setPlaceholderText(const QString &); |
109 #endif |
|
110 |
104 |
111 int maxLength() const; |
105 int maxLength() const; |
112 void setMaxLength(int); |
106 void setMaxLength(int); |
113 |
107 |
114 void setFrame(bool); |
108 void setFrame(bool); |