aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/urllineedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/urllineedit.h')
-rw-r--r--src/widgets/urllineedit.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/widgets/urllineedit.h b/src/widgets/urllineedit.h
index e7dcf36..546ca41 100644
--- a/src/widgets/urllineedit.h
+++ b/src/widgets/urllineedit.h
@@ -14,10 +14,17 @@ signals:
public slots:
void setUrl(const QUrl &url);
+ QUrl url();
+
+protected:
+ void focusInEvent(QFocusEvent *event);
+ void focusOutEvent(QFocusEvent *event);
private:
void setTextFormat(const QTextLayout::FormatRange &format);
void clearTextFormat();
+
+ QTextLayout::FormatRange m_hostFormat;
};
#endif // URLLINEEDIT_H