summaryrefslogtreecommitdiffstats
path: root/konqueror/keditbookmarks/kebsearchline.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:11:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:11:21 -0600
commitf537c21b68e08f649b1b297bce8f3904603137e0 (patch)
treefb33065387509dea898c90022ddec9c3f8ede86d /konqueror/keditbookmarks/kebsearchline.cpp
parentdc5f267664506a312203c26bfe9001a448b0bb0f (diff)
downloadtdebase-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.cpp14
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);