diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | dfb7562b7e607f0ae077a6a436966203029df56d (patch) | |
tree | d58abf870c3754458d44a192a0b9e186f506c4ed /kmail/subscriptiondialog.cpp | |
parent | fc5197ec86abe5dc0fa4b48979684845b52357f2 (diff) | |
download | tdepim-dfb7562b7e607f0ae077a6a436966203029df56d.tar.gz tdepim-dfb7562b7e607f0ae077a6a436966203029df56d.zip |
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/subscriptiondialog.cpp')
-rw-r--r-- | kmail/subscriptiondialog.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kmail/subscriptiondialog.cpp b/kmail/subscriptiondialog.cpp index e476749e6..49ece85dd 100644 --- a/kmail/subscriptiondialog.cpp +++ b/kmail/subscriptiondialog.cpp @@ -100,7 +100,7 @@ void SubscriptionDialogBase::moveChildrenToNewParent( GroupItem *oldItem, GroupI { oldItem->takeItem(cur); item->insertItem(cur); - if ( cur->isSelected() ) // we have new tqparents so open them + if ( cur->isSelected() ) // we have new parents so open them folderTree()->ensureItemVisible( cur ); ++it; } @@ -115,15 +115,15 @@ void SubscriptionDialogBase::createListViewItem( int i ) // get the tqparent GroupItem *oldItem = 0; - TQString tqparentPath; - findParentItem( mFolderNames[i], mFolderPaths[i], tqparentPath, &tqparent, &oldItem ); + TQString parentPath; + findParentItem( mFolderNames[i], mFolderPaths[i], parentPath, &tqparent, &oldItem ); - if (!tqparent && tqparentPath != "/") + if (!tqparent && parentPath != "/") { // the tqparent is not available and it's no root-item // this happens when the folders do not arrive in hierarchical order // so we create each tqparent in advance - TQStringList folders = TQStringList::split(mDelimiter, tqparentPath); + TQStringList folders = TQStringList::split(mDelimiter, parentPath); uint i = 0; for ( TQStringList::Iterator it = folders.begin(); it != folders.end(); ++it ) { @@ -198,18 +198,18 @@ void SubscriptionDialogBase::createListViewItem( int i ) //------------------------------------------------------------------------------ -void SubscriptionDialogBase::findParentItem( TQString &name, TQString &path, TQString &tqparentPath, +void SubscriptionDialogBase::findParentItem( TQString &name, TQString &path, TQString &parentPath, GroupItem **tqparent, GroupItem **oldItem ) { // remove the name (and the separator) from the path to get the tqparent path int start = path.length() - (name.length()+2); int length = name.length()+1; if (start < 0) start = 0; - tqparentPath = path; - tqparentPath.remove(start, length); + parentPath = path; + parentPath.remove(start, length); // find the tqparent by it's path - *tqparent = mItemDict[tqparentPath]; + *tqparent = mItemDict[parentPath]; // check if the item already exists *oldItem = mItemDict[path]; |