summaryrefslogtreecommitdiff
path: root/src/urlbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-25 00:05:16 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-25 00:05:16 +0200
commitfca022bc0c708f82871850eaab94839c37c2013f (patch)
tree5feffee3a6a645b08a7e03c0136a8523677d38aa /src/urlbar.cpp
parentInitial kdewebkit porting. STEP 1 DONE (diff)
downloadrekonq-fca022bc0c708f82871850eaab94839c37c2013f.tar.xz
no inline functions, as suggested
Diffstat (limited to 'src/urlbar.cpp')
-rw-r--r--src/urlbar.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/urlbar.cpp b/src/urlbar.cpp
index e2756aa6..e1971ced 100644
--- a/src/urlbar.cpp
+++ b/src/urlbar.cpp
@@ -81,6 +81,24 @@ UrlBar::~UrlBar()
}
+void UrlBar::selectAll() const
+{
+ lineEdit()->selectAll();
+}
+
+
+KUrl UrlBar::url() const
+{
+ return m_currentUrl;
+}
+
+
+KLineEdit *UrlBar::lineEdit() const
+{
+ return m_lineEdit;
+}
+
+
void UrlBar::setupLineEdit()
{
// Make m_lineEdit background transparent