diff options
Diffstat (limited to 'kmail/index.cpp')
-rw-r--r-- | kmail/index.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/index.cpp b/kmail/index.cpp index a71d27e9c..5604003d4 100644 --- a/kmail/index.cpp +++ b/kmail/index.cpp @@ -77,8 +77,8 @@ std::vector<TQ_UINT32> TQValueListToVector( const TQValueList<int>& input ) { } #endif -KMMsgIndex::KMMsgIndex( TQObject* tqparent ): - TQObject( tqparent, "index" ), +KMMsgIndex::KMMsgIndex( TQObject* parent ): + TQObject( parent, "index" ), mState( s_idle ), #ifdef HAVE_INDEXLIB mLockFile( std::string( static_cast<const char*>( TQFile::encodeName( defaultPath() ) + "/lock" ) ) ), @@ -152,8 +152,8 @@ KMMsgIndex::~KMMsgIndex() { } bool KMMsgIndex::isIndexable( KMFolder* folder ) const { - if ( !folder || !folder->tqparent() ) return false; - const KMFolderMgr* manager = folder->tqparent()->manager(); + if ( !folder || !folder->parent() ) return false; + const KMFolderMgr* manager = folder->parent()->manager(); return manager == kmkernel->folderMgr() || manager == kmkernel->dimapFolderMgr(); } |