summaryrefslogtreecommitdiff
path: root/src/urlbar.h
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.h
parentInitial kdewebkit porting. STEP 1 DONE (diff)
downloadrekonq-fca022bc0c708f82871850eaab94839c37c2013f.tar.xz
no inline functions, as suggested
Diffstat (limited to 'src/urlbar.h')
-rw-r--r--src/urlbar.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/urlbar.h b/src/urlbar.h
index d8fb9029..02d709bb 100644
--- a/src/urlbar.h
+++ b/src/urlbar.h
@@ -49,15 +49,8 @@ public:
UrlBar(QWidget *parent = 0);
~UrlBar();
- void selectAll() const
- {
- lineEdit()->selectAll();
- }
- KUrl url() const
- {
- return m_currentUrl;
- }
-
+ void selectAll() const;
+ KUrl url() const;
QSize sizeHint() const;
signals:
@@ -80,10 +73,7 @@ protected:
private:
void setupLineEdit();
- KLineEdit *lineEdit() const
- {
- return m_lineEdit;
- }
+ KLineEdit *lineEdit() const;
static QLinearGradient generateGradient(const QColor &color, int height);