summaryrefslogtreecommitdiffstats
path: root/korganizer/resourceview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/resourceview.cpp')
-rw-r--r--korganizer/resourceview.cpp12
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 {