[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/kleopatra/view
From: Marc Mutz <mutz () kde ! org>
Date: 2010-11-03 22:51:14
Message-ID: 20101103225114.9F21AAC89B () svn ! kde ! org
[Download RAW message or body]
SVN commit 1192768 by mutz:
SearchBar: add an accessor for the embedded KLineEdit
This is ugly, but needed for the upcoming as-you-type searching.
M +4 -0 searchbar.cpp
M +4 -0 searchbar.h
--- trunk/KDE/kdepim/kleopatra/view/searchbar.cpp #1192767:1192768
@@ -143,5 +143,9 @@
d->combo->setEnabled( on );
}
+KLineEdit * SearchBar::lineEdit() const {
+ return d->lineEdit;
+}
+
#include "moc_searchbar.cpp"
--- trunk/KDE/kdepim/kleopatra/view/searchbar.h #1192767:1192768
@@ -39,6 +39,8 @@
#include <boost/shared_ptr.hpp>
+class KLineEdit;
+
namespace Kleo {
class KeyFilter;
@@ -52,6 +54,8 @@
QString stringFilter() const;
const boost::shared_ptr<KeyFilter> & keyFilter() const;
+ KLineEdit * lineEdit() const;
+
public Q_SLOTS:
void setStringFilter( const QString & text );
void setKeyFilter( const boost::shared_ptr<Kleo::KeyFilter> & filter );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic