diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
commit | f4fae92b6768541e2952173c3d4b09040f95bf7e (patch) | |
tree | d8c5d93232235cd635f3310b4d95490df181ba2d /korganizer/resourceview.cpp | |
parent | 125c0a08265b75a133644d3b55f47e37c919f45d (diff) | |
download | tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip |
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/resourceview.cpp')
-rw-r--r-- | korganizer/resourceview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/korganizer/resourceview.cpp b/korganizer/resourceview.cpp index 150aa0143..0f2d0e13f 100644 --- a/korganizer/resourceview.cpp +++ b/korganizer/resourceview.cpp @@ -83,7 +83,7 @@ static TQString labelFromSubResName( ResourceCalendar *resource, const TQString static TQString labelFromIdentifier( ResourceCalendar *resource, const TQString &identifier ) { TQString subResLabel; - if ( identifier.contains( "/.INBOX.directory/" ) ) { // my subresource + if ( identifier.tqcontains( "/.INBOX.directory/" ) ) { // my subresource TQString subResName = identifier; subResName.remove( TQRegExp( "^.*/\\.INBOX\\.directory/" ) ); subResLabel = labelFromSubResName( resource, subResName ); @@ -238,18 +238,18 @@ void ResourceItem::setStandardResource( bool std ) { if ( mIsStandardResource != std ) { mIsStandardResource = std; - repaint(); + tqrepaint(); } } void ResourceItem::paintCell(TQPainter *p, const TQColorGroup &cg, - int column, int width, int alignment) + int column, int width, int tqalignment) { TQFont oldFont = p->font(); TQFont newFont = oldFont; newFont.setBold( mIsStandardResource && !mIsSubresource ); p->setFont( newFont ); - TQCheckListItem::paintCell( p, cg, column, width, alignment ); + TQCheckListItem::paintCell( p, cg, column, width, tqalignment ); p->setFont( oldFont ); /* TQColorGroup _cg = cg; if(!mResource) return; @@ -595,7 +595,7 @@ void ResourceView::editResource() if ( item->isSubresource() ) { if ( resource->type() == "imap" || resource->type() == "scalix" ) { TQString identifier = item->resourceIdentifier(); - if ( !identifier.contains( "/.INBOX.directory/" ) ) { + if ( !identifier.tqcontains( "/.INBOX.directory/" ) ) { KMessageBox::sorry( this, i18n( "Cannot rename someone else's calendar folder." ) ); @@ -708,7 +708,7 @@ void ResourceView::contextMenuRequested ( TQListViewItem *lvitem, const TQPoint if ( item->isSubresource() && ( item->resource()->type() == "imap" || item->resource()->type() == "scalix" ) ) { - if ( item->resourceIdentifier().contains( "/.INBOX.directory/" ) ) { + if ( item->resourceIdentifier().tqcontains( "/.INBOX.directory/" ) ) { menu->insertItem( i18n("&Rename..."), this, TQT_SLOT( editResource() ) ); } } else { |