diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmail/simplefoldertree.h | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 ) |