summaryrefslogtreecommitdiff
path: root/src/urlbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-11-10 15:20:49 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-11-10 15:20:49 +0100
commit64cac4862842c7efa2dc7591ab5b672255e49e4c (patch)
treec0ea60adb6761b738315a04d82008c8c15f15f27 /src/urlbar.cpp
parentfixing new mainWindow() behaviour, porting functions calling it (diff)
downloadrekonq-64cac4862842c7efa2dc7591ab5b672255e49e4c.tar.xz
(BIG commit) API change
I fixed rekonq API removing all slotName call switching to a proper getter call (so, name() functions)
Diffstat (limited to 'src/urlbar.cpp')
-rw-r--r--src/urlbar.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/urlbar.cpp b/src/urlbar.cpp
index 81185409..68e3182f 100644
--- a/src/urlbar.cpp
+++ b/src/urlbar.cpp
@@ -69,10 +69,10 @@ UrlBar::UrlBar(QWidget *parent)
setupLineEdit();
// add every item to history
- connect(this, SIGNAL(returnPressed(const QString&)), SLOT(slotActivated(const QString&)));
- connect(completionBox(), SIGNAL(activated(const QString&)), SLOT(slotActivated(const QString&)));
+ connect(this, SIGNAL(returnPressed(const QString&)), SLOT(activated(const QString&)));
+ connect(completionBox(), SIGNAL(activated(const QString&)), SLOT(activated(const QString&)));
- connect(this, SIGNAL(cleared()), SLOT(slotCleared()));
+ connect(this, SIGNAL(cleared()), SLOT(cleared()));
// setup completion box
setCompletionObject( Application::historyManager()->completionObject() );
@@ -144,7 +144,7 @@ void UrlBar::setUrl(const QUrl& url)
else
m_currentUrl = url;
- slotUpdateUrl();
+ updateUrl();
}
@@ -155,7 +155,7 @@ void UrlBar::setProgress(int progress)
}
-void UrlBar::slotUpdateUrl()
+void UrlBar::updateUrl()
{
// Don't change my typed url...
// FIXME this is not a proper solution (also if it works...)
@@ -190,7 +190,7 @@ void UrlBar::slotUpdateUrl()
}
-void UrlBar::slotActivated(const QString& url)
+void UrlBar::activated(const QString& url)
{
if (url.isEmpty())
return;
@@ -203,7 +203,7 @@ void UrlBar::slotActivated(const QString& url)
}
-void UrlBar::slotCleared()
+void UrlBar::cleared()
{
// clear the history on user's request from context menu
clear();
@@ -211,7 +211,7 @@ void UrlBar::slotCleared()
}
-void UrlBar::slotLoadFinished(bool)
+void UrlBar::loadFinished(bool)
{
// reset progress bar after small delay
m_progress = 0;
@@ -219,7 +219,7 @@ void UrlBar::slotLoadFinished(bool)
}
-void UrlBar::slotUpdateProgress(int progress)
+void UrlBar::updateProgress(int progress)
{
m_progress = progress;
repaint();