summaryrefslogtreecommitdiffstats
path: root/kresources/lib/folderlistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/lib/folderlistview.cpp')
-rw-r--r--kresources/lib/folderlistview.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kresources/lib/folderlistview.cpp b/kresources/lib/folderlistview.cpp
index c6b34cbd..d8ae7ec1 100644
--- a/kresources/lib/folderlistview.cpp
+++ b/kresources/lib/folderlistview.cpp
@@ -54,37 +54,37 @@ void FolderListView::setEnabledTypes( const TQValueList<Property> &types )
kdDebug() << "FolderListView::setEnabledTypes" << endl;
for ( int i = 0; i< columns(); ++i ) removeColumn( i );
mTypes = types;
- if ( !mTypes.tqcontains( FolderName ) ) mTypes.prepend( FolderName );
+ if ( !mTypes.contains( FolderName ) ) mTypes.prepend( FolderName );
mColumnMap[FolderName] = addColumn( i18n("Folder") );
mTypeMap[mColumnMap[FolderName]] = FolderName;
- if ( mTypes.tqcontains( Event ) ) {
+ if ( mTypes.contains( Event ) ) {
mColumnMap[Event] = addColumn( i18n("Short column header meaning default for new events", "Events") );
mTypeMap[mColumnMap[Event]] = Event;
} else mColumnMap[Event] = -1;
- if ( mTypes.tqcontains( Todo ) ) {
+ if ( mTypes.contains( Todo ) ) {
mColumnMap[Todo] = addColumn( i18n("Short column header meaning default for new to-dos", "Todos") );
mTypeMap[mColumnMap[Todo]] = Todo;
} else mColumnMap[Todo] = -1;
- if ( mTypes.tqcontains( Journal ) ) {
+ if ( mTypes.contains( Journal ) ) {
mColumnMap[Journal] = addColumn( i18n("Short column header meaning default for new journals", "Journals") );
mTypeMap[mColumnMap[Journal]] = Journal;
} else mColumnMap[Journal] = -1;
- if ( mTypes.tqcontains( Contact ) ) {
+ if ( mTypes.contains( Contact ) ) {
mColumnMap[Contact] = addColumn( i18n("Short column header meaning default for new contacts", "Contacts") );
mTypeMap[mColumnMap[Contact]] = Contact;
} else mColumnMap[Contact] = -1;
- if ( mTypes.tqcontains( All ) ) {
+ if ( mTypes.contains( All ) ) {
mColumnMap[All] = addColumn( i18n("Short column header meaning default for all items", "All") );
mTypeMap[mColumnMap[All]] = All;
} else mColumnMap[All] = -1;
- if ( mTypes.tqcontains( Unknown ) ) {
+ if ( mTypes.contains( Unknown ) ) {
mColumnMap[Unknown] = addColumn( i18n("Short column header meaning default for unknown new items", "Unknown") );
mTypeMap[mColumnMap[Unknown]] = Unknown;
} else mColumnMap[Unknown] = -1;
@@ -103,27 +103,27 @@ void FolderListView::showPopupMenu( FolderListItem *i, const TQPoint &globalPos
m.setItemChecked( id, i->isOn() );
m.insertSeparator();
- if ( ( folder.type & KPIM::FolderLister::Event ) && (mTypes.tqcontains( Event ) ) ) {
+ if ( ( folder.type & KPIM::FolderLister::Event ) && (mTypes.contains( Event ) ) ) {
id = m.insertItem( i18n("Default for New &Events"), this, TQT_SLOT(slotPopupHandler(int)), 0, Event );
m.setItemChecked( id, i->isDefault( Event ) );
}
- if ( ( folder.type & KPIM::FolderLister::Todo ) && (mTypes.tqcontains( Todo ) ) ) {
+ if ( ( folder.type & KPIM::FolderLister::Todo ) && (mTypes.contains( Todo ) ) ) {
id = m.insertItem( i18n("Default for New &Todos"), this, TQT_SLOT(slotPopupHandler(int)), 0, Todo );
m.setItemChecked( id, i->isDefault( Todo ) );
}
- if ( ( folder.type & KPIM::FolderLister::Journal ) && (mTypes.tqcontains( Journal ) ) ) {
+ if ( ( folder.type & KPIM::FolderLister::Journal ) && (mTypes.contains( Journal ) ) ) {
id = m.insertItem( i18n("Default for New &Journals"), this, TQT_SLOT(slotPopupHandler(int)), 0, Journal );
m.setItemChecked( id, i->isDefault( Journal ) );
}
- if ( ( folder.type & KPIM::FolderLister::Contact ) && (mTypes.tqcontains( Contact ) ) ) {
+ if ( ( folder.type & KPIM::FolderLister::Contact ) && (mTypes.contains( Contact ) ) ) {
id = m.insertItem( i18n("Default for New &Contacts"), this, TQT_SLOT(slotPopupHandler(int)), 0, Contact );
m.setItemChecked( id, i->isDefault( Contact ) );
}
- if ( ( folder.type == KPIM::FolderLister::All ) && (mTypes.tqcontains( All ) ) ) {
+ if ( ( folder.type == KPIM::FolderLister::All ) && (mTypes.contains( All ) ) ) {
id = m.insertItem( i18n("Default for All New &Items"), this, TQT_SLOT(slotPopupHandler(int)), 0, All );
m.setItemChecked( id, i->isDefault( All ) );
}
- if ( ( folder.type == KPIM::FolderLister::Unknown ) && (mTypes.tqcontains( Unknown ) ) ) {
+ if ( ( folder.type == KPIM::FolderLister::Unknown ) && (mTypes.contains( Unknown ) ) ) {
id = m.insertItem( i18n("Default for &Unknown New Items"), this, TQT_SLOT(slotPopupHandler(int)), 0, Unknown );
m.setItemChecked( id, i->isDefault( Unknown ) );
}
@@ -184,7 +184,7 @@ void FolderListItem::activate( int column, const TQPoint &localPos )
default:
return;
}
- if ( !TQRect( x, 0, w, BoxSize ).tqcontains( localPos ) )
+ if ( !TQRect( x, 0, w, BoxSize ).contains( localPos ) )
changeProperty( prop );
}
@@ -293,4 +293,4 @@ void FolderListItem::paintCell( TQPainter *p, const TQColorGroup &cg, int col, i
//END
#include "folderlistview.moc"
-// kate: space-indent on; indent-width 2; tqreplace-tabs on;
+// kate: space-indent on; indent-width 2; replace-tabs on;