aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-12-11 09:56:42 +0100
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-12-15 05:09:02 +0000
commit85b64e701b2eaecdd30a7e0e079e2c80dd846fec (patch)
tree6c758663d199b494bf9c97ab6bbe1966ce2c2a4d /src/quick
parent5f96bc07389382d534934120301c2d1a89d24657 (diff)
QQuickTextEdit: Fully qualify enumerations in changed() signals.
Fix warnings when running tst_qquicktextedit: QWARN : tst_qquicktextedit::mouseSelectionMode_accessors() QSignalSpy: Unable to handle parameter 'mode' of type 'QQuickTextEdit::SelectionMode' of method 'mouseSelectionModeChanged', use qRegisterMetaType to register it. QWARN : tst_qquicktextedit::textFormat() QSignalSpy: Unable to handle parameter 'textFormat' of type 'QQuickTextEdit::TextFormat' of method 'textFormatChanged', use qRegisterMetaType to register it. Change-Id: I2d41f970777c9ee4d8999acceed9e1b9cf52b0f0 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'src/quick')
-rw-r--r--src/quick/items/qquicktextedit_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/quick/items/qquicktextedit_p.h b/src/quick/items/qquicktextedit_p.h
index f8b7100cfa..de72071319 100644
--- a/src/quick/items/qquicktextedit_p.h
+++ b/src/quick/items/qquicktextedit_p.h
@@ -295,11 +295,11 @@ Q_SIGNALS:
void selectionColorChanged(const QColor &color);
void selectedTextColorChanged(const QColor &color);
void fontChanged(const QFont &font);
- void horizontalAlignmentChanged(HAlignment alignment);
- void verticalAlignmentChanged(VAlignment alignment);
+ void horizontalAlignmentChanged(QQuickTextEdit::HAlignment alignment);
+ void verticalAlignmentChanged(QQuickTextEdit::VAlignment alignment);
void wrapModeChanged();
void lineCountChanged();
- void textFormatChanged(TextFormat textFormat);
+ void textFormatChanged(QQuickTextEdit::TextFormat textFormat);
void readOnlyChanged(bool isReadOnly);
void cursorVisibleChanged(bool isCursorVisible);
void cursorDelegateChanged();
@@ -308,7 +308,7 @@ Q_SIGNALS:
void textMarginChanged(qreal textMargin);
Q_REVISION(1) void selectByKeyboardChanged(bool selectByKeyboard);
void selectByMouseChanged(bool selectByMouse);
- void mouseSelectionModeChanged(SelectionMode mode);
+ void mouseSelectionModeChanged(QQuickTextEdit::SelectionMode mode);
void linkActivated(const QString &link);
Q_REVISION(2) void linkHovered(const QString &link);
void canPasteChanged();