summaryrefslogtreecommitdiff
path: root/src/tabwidget.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2008-12-10 00:48:57 +0100
committerAndrea Diamantini <adjam7@gmail.com>2008-12-10 00:48:57 +0100
commit332491c515a72ed173592a73562e7567e71e782f (patch)
tree3d02c97c6b79cab835048702b082d07d366480e8 /src/tabwidget.cpp
parentnothing important (diff)
parentAdded Completion to new urlbar. ready for merge.. (diff)
downloadrekonq-332491c515a72ed173592a73562e7567e71e782f.tar.xz
merging newurlbar branch
Merge branch 'newurlbar'
Diffstat (limited to 'src/tabwidget.cpp')
-rw-r--r--src/tabwidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tabwidget.cpp b/src/tabwidget.cpp
index 72574596..58ea75c0 100644
--- a/src/tabwidget.cpp
+++ b/src/tabwidget.cpp
@@ -286,7 +286,7 @@ void TabWidget::clear()
// clear the line edit history
for (int i = 0; i < m_lineEdits->count(); ++i)
{
- KLineEdit *qLineEdit = lineEdit(i);
+ QLineEdit *qLineEdit = lineEdit(i);
qLineEdit->setText(qLineEdit->text());
}
}
@@ -409,7 +409,7 @@ QWidget *TabWidget::lineEditStack() const
}
-KLineEdit *TabWidget::currentLineEdit() const
+QLineEdit *TabWidget::currentLineEdit() const
{
return lineEdit(m_lineEdits->currentIndex());
}
@@ -421,7 +421,7 @@ WebView *TabWidget::currentWebView() const
}
-KLineEdit *TabWidget::lineEdit(int index) const
+QLineEdit *TabWidget::lineEdit(int index) const
{
UrlBar *urlLineEdit = qobject_cast<UrlBar*>(m_lineEdits->widget(index));
if (urlLineEdit)
@@ -465,7 +465,7 @@ WebView *TabWidget::newTab(bool makeCurrent)
{
// line edit
UrlBar *urlLineEdit = new UrlBar;
- KLineEdit *lineEdit = urlLineEdit->lineEdit();
+ QLineEdit *lineEdit = urlLineEdit->lineEdit();
if (!m_lineEditCompleter && count() > 0)
{
HistoryCompletionModel *completionModel = new HistoryCompletionModel(this);
@@ -544,7 +544,7 @@ void TabWidget::reloadAllTabs()
void TabWidget::lineEditReturnPressed()
{
- if (KLineEdit *lineEdit = qobject_cast<KLineEdit*>(sender()))
+ if (QLineEdit *lineEdit = qobject_cast<QLineEdit*>(sender()))
{
emit loadPage(lineEdit->text());
if (m_lineEdits->currentWidget() == lineEdit)