summaryrefslogtreecommitdiffstats
path: root/kmail/klistviewindexedsearchline.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
commitfd5d099065a748cac49e20a13481f85666c53c71 (patch)
treea0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /kmail/klistviewindexedsearchline.cpp
parentb440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff)
downloadtdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz
tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kmail/klistviewindexedsearchline.cpp')
-rw-r--r--kmail/klistviewindexedsearchline.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmail/klistviewindexedsearchline.cpp b/kmail/klistviewindexedsearchline.cpp
index 9f0e2635..b8895ff0 100644
--- a/kmail/klistviewindexedsearchline.cpp
+++ b/kmail/klistviewindexedsearchline.cpp
@@ -38,17 +38,17 @@
using KMail::HeaderListQuickSearch;
-KListViewIndexedSearchLine::KListViewIndexedSearchLine( TQWidget* parent, KListView* listView, KActionCollection* actionCollection, const char* name ):
+TDEListViewIndexedSearchLine::TDEListViewIndexedSearchLine( TQWidget* parent, TDEListView* listView, TDEActionCollection* actionCollection, const char* name ):
HeaderListQuickSearch( parent, listView, actionCollection, name ),
mFiltering( false )
{
}
-KListViewIndexedSearchLine::~KListViewIndexedSearchLine() {
+TDEListViewIndexedSearchLine::~TDEListViewIndexedSearchLine() {
}
-void KListViewIndexedSearchLine::updateSearch( const TQString& s ) {
+void TDEListViewIndexedSearchLine::updateSearch( const TQString& s ) {
kdDebug( 5006 ) << "updateSearch( -" << s << "- )" << endl;
mFiltering = false;
if ( !s.isNull() && !s.isEmpty() ) {
@@ -60,10 +60,10 @@ void KListViewIndexedSearchLine::updateSearch( const TQString& s ) {
mFiltering = ok;
}
}
- KListViewSearchLine::updateSearch( s );
+ TDEListViewSearchLine::updateSearch( s );
}
-bool KListViewIndexedSearchLine::itemMatches( const TQListViewItem* item, const TQString& s ) const {
+bool TDEListViewIndexedSearchLine::itemMatches( const TQListViewItem* item, const TQString& s ) const {
if ( mFiltering &&
std::binary_search( mResults.begin(), mResults.end(), static_cast<const KMail::HeaderItem*>( item )->msgSerNum() ) )
return true;