summaryrefslogtreecommitdiffstats
path: root/kmail/headerlistquicksearch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/headerlistquicksearch.cpp')
-rw-r--r--kmail/headerlistquicksearch.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/headerlistquicksearch.cpp b/kmail/headerlistquicksearch.cpp
index 9d6c37e55..d626b966b 100644
--- a/kmail/headerlistquicksearch.cpp
+++ b/kmail/headerlistquicksearch.cpp
@@ -48,12 +48,12 @@
namespace KMail {
HeaderListQuickSearch::HeaderListQuickSearch( TQWidget *parent,
- KListView *listView,
- KActionCollection *actionCollection,
+ TDEListView *listView,
+ TDEActionCollection *actionCollection,
const char *name )
- : KListViewSearchLine(parent, listView, name), mStatusCombo(0), mStatus(0), statusList()
+ : TDEListViewSearchLine(parent, listView, name), mStatusCombo(0), mStatus(0), statusList()
{
- KAction *resetQuickSearch = new KAction( i18n( "Reset Quick Search" ),
+ TDEAction *resetQuickSearch = new TDEAction( i18n( "Reset Quick Search" ),
TQApplication::reverseLayout()
? "clear_left"
: "locationbar_erase",
@@ -89,11 +89,11 @@ HeaderListQuickSearch::HeaderListQuickSearch( TQWidget *parent,
label->setBuddy( mStatusCombo );
- KToolBarButton * btn = new KToolBarButton( "mail_find", 0, parent,
+ TDEToolBarButton * btn = new TDEToolBarButton( "mail_find", 0, parent,
0, i18n( "Open Full Search" ) );
connect( btn, TQT_SIGNAL( clicked() ), TQT_SIGNAL( requestFullSearch() ) );
- /* Disable the signal connected by KListViewSearchLine since it will call
+ /* Disable the signal connected by TDEListViewSearchLine since it will call
* itemAdded during KMHeaders::readSortOrder() which will in turn result
* in getMsgBaseForItem( item ) wanting to access items which are no longer
* there. Rather rely on KMHeaders::msgAdded and its signal. */
@@ -153,7 +153,7 @@ bool HeaderListQuickSearch::itemMatches(const TQListViewItem *item, const TQStri
}
// The full email address is not visible, but we still want it to be searchable.
- // KListViewSearchLine::itemMatches() only searches in visible columns.
+ // TDEListViewSearchLine::itemMatches() only searches in visible columns.
const HeaderItem *headerItem = static_cast<const HeaderItem*>( item );
if ( headerItem->from().lower().contains( s.lower() ) ) {
return true;
@@ -162,7 +162,7 @@ bool HeaderListQuickSearch::itemMatches(const TQListViewItem *item, const TQStri
return true;
}
- return KListViewSearchLine::itemMatches(item, s);
+ return TDEListViewSearchLine::itemMatches(item, s);
}
//-----------------------------------------------------------------------------