diff options
Diffstat (limited to 'kmail/simplefoldertree.h')
-rw-r--r-- | kmail/simplefoldertree.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kmail/simplefoldertree.h b/kmail/simplefoldertree.h index 6bfc3eb33..92545c665 100644 --- a/kmail/simplefoldertree.h +++ b/kmail/simplefoldertree.h @@ -50,7 +50,7 @@ static int recurseFilter( TQListViewItem * item, const TQString& filter, int col } if ( filter.length() == 0 || - item->text( column ).find( filter, 0, false ) >= 0 ) { + item->text( column ).tqfind( filter, 0, false ) >= 0 ) { item->setVisible( true ); ++enabled; } @@ -133,9 +133,9 @@ template <class T> class SimpleFolderTreeBase : public TreeBase public: - inline SimpleFolderTreeBase( TQWidget * parent, KMFolderTree *folderTree, + inline SimpleFolderTreeBase( TQWidget * tqparent, KMFolderTree *folderTree, const TQString &preSelection, bool mustBeReadWrite ) - : TreeBase( parent, folderTree, preSelection, mustBeReadWrite ) + : TreeBase( tqparent, folderTree, preSelection, mustBeReadWrite ) { assert( folderTree ); setFolderColumn( addColumn( i18n( "Folder" ) ) ); @@ -148,24 +148,24 @@ template <class T> class SimpleFolderTreeBase : public TreeBase } - virtual SimpleFolderTreeItem<T>* createItem( TQListView * parent ) + virtual SimpleFolderTreeItem<T>* createItem( TQListView * tqparent ) { - return new SimpleFolderTreeItem<T>( parent ); + return new SimpleFolderTreeItem<T>( tqparent ); } - virtual SimpleFolderTreeItem<T>* createItem( TQListView * parent, TQListViewItem* afterListViewItem ) + virtual SimpleFolderTreeItem<T>* createItem( TQListView * tqparent, TQListViewItem* afterListViewItem ) { - return new SimpleFolderTreeItem<T>( parent, afterListViewItem ); + return new SimpleFolderTreeItem<T>( tqparent, afterListViewItem ); } - virtual SimpleFolderTreeItem<T>* createItem( TQListViewItem * parent, TQListViewItem* afterListViewItem ) + virtual SimpleFolderTreeItem<T>* createItem( TQListViewItem * tqparent, TQListViewItem* afterListViewItem ) { - return new SimpleFolderTreeItem<T>( parent, afterListViewItem ); + return new SimpleFolderTreeItem<T>( tqparent, afterListViewItem ); } - virtual SimpleFolderTreeItem<T>* createItem( TQListViewItem * parent ) + virtual SimpleFolderTreeItem<T>* createItem( TQListViewItem * tqparent ) { - return new SimpleFolderTreeItem<T>( parent ); + return new SimpleFolderTreeItem<T>( tqparent ); } inline void keyPressEvent( TQKeyEvent *e ) |