diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-11-10 15:20:49 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-11-10 15:20:49 +0100 |
commit | 64cac4862842c7efa2dc7591ab5b672255e49e4c (patch) | |
tree | c0ea60adb6761b738315a04d82008c8c15f15f27 /src/findbar.cpp | |
parent | fixing new mainWindow() behaviour, porting functions calling it (diff) | |
download | rekonq-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/findbar.cpp')
-rw-r--r-- | src/findbar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/findbar.cpp b/src/findbar.cpp index f6c05702..09cc46f1 100644 --- a/src/findbar.cpp +++ b/src/findbar.cpp @@ -72,14 +72,14 @@ FindBar::FindBar(KMainWindow *mainwindow) // lineEdit, focusProxy setFocusProxy(m_lineEdit); m_lineEdit->setMaximumWidth(250); - connect(m_lineEdit, SIGNAL(textChanged(const QString &)), mainwindow, SLOT(slotFind(const QString &))); + connect(m_lineEdit, SIGNAL(textChanged(const QString &)), mainwindow, SLOT(find(const QString &))); layout->addWidget(m_lineEdit); // buttons KPushButton *findNext = new KPushButton(KIcon("go-down"), i18n("&Next"), this); KPushButton *findPrev = new KPushButton(KIcon("go-up"), i18n("&Previous"), this); - connect(findNext, SIGNAL(clicked()), mainwindow, SLOT(slotFindNext())); - connect(findPrev, SIGNAL(clicked()), mainwindow, SLOT(slotFindPrevious())); + connect(findNext, SIGNAL(clicked()), mainwindow, SLOT(findNext())); + connect(findPrev, SIGNAL(clicked()), mainwindow, SLOT(findPrevious())); layout->addWidget(findNext); layout->addWidget(findPrev); |