diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:11:21 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:11:21 -0600 |
commit | f537c21b68e08f649b1b297bce8f3904603137e0 (patch) | |
tree | fb33065387509dea898c90022ddec9c3f8ede86d /konqueror/keditbookmarks/kebsearchline.cpp | |
parent | dc5f267664506a312203c26bfe9001a448b0bb0f (diff) | |
download | tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'konqueror/keditbookmarks/kebsearchline.cpp')
-rw-r--r-- | konqueror/keditbookmarks/kebsearchline.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/konqueror/keditbookmarks/kebsearchline.cpp b/konqueror/keditbookmarks/kebsearchline.cpp index 973f737b5..2e2a2f2c9 100644 --- a/konqueror/keditbookmarks/kebsearchline.cpp +++ b/konqueror/keditbookmarks/kebsearchline.cpp @@ -19,21 +19,21 @@ #include "kebsearchline.h" #include "kebsearchline.moc" -KEBSearchLine::KEBSearchLine(TQWidget *parent, KListView *listView, const char *name) - : KListViewSearchLine(parent, listView, name) +KEBSearchLine::KEBSearchLine(TQWidget *parent, TDEListView *listView, const char *name) + : TDEListViewSearchLine(parent, listView, name) { mmode = AND; } KEBSearchLine::KEBSearchLine(TQWidget *parent, const char *name) - :KListViewSearchLine(parent, name) + :TDEListViewSearchLine(parent, name) { mmode = AND; } void KEBSearchLine::updateSearch(const TQString &s) { - KListViewSearchLine::updateSearch(s); + TDEListViewSearchLine::updateSearch(s); emit searchUpdated(); } @@ -44,7 +44,7 @@ KEBSearchLine::~KEBSearchLine() bool KEBSearchLine::itemMatches(const TQListViewItem *item, const TQString &s) const { if(mmode == EXACTLY) - return KListViewSearchLine::itemMatches(item, s); + return TDEListViewSearchLine::itemMatches(item, s); if(lastpattern != s) { @@ -60,12 +60,12 @@ bool KEBSearchLine::itemMatches(const TQListViewItem *item, const TQString &s) c if(it == end) //Nothing to match return true; for( ; it != end; ++it) - if(KListViewSearchLine::itemMatches(item, *it)) + if(TDEListViewSearchLine::itemMatches(item, *it)) return true; } else if(mmode == AND) for( ; it != end; ++it) - if(! KListViewSearchLine::itemMatches(item, *it)) + if(! TDEListViewSearchLine::itemMatches(item, *it)) return false; return (mmode == AND); |