summaryrefslogtreecommitdiffstats
path: root/libkdepim/addresseeselector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/addresseeselector.cpp')
-rw-r--r--libkdepim/addresseeselector.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libkdepim/addresseeselector.cpp b/libkdepim/addresseeselector.cpp
index 65e34985d..c7e378179 100644
--- a/libkdepim/addresseeselector.cpp
+++ b/libkdepim/addresseeselector.cpp
@@ -79,7 +79,7 @@ TQStringList AddresseeSelector::AddressBookManager::titles() const
void AddresseeSelector::AddressBookManager::addResource( KABC::Resource *resource )
{
- if ( mResources.find( resource ) == mResources.end() )
+ if ( mResources.tqfind( resource ) == mResources.end() )
mResources.append( resource );
}
@@ -184,12 +184,12 @@ uint SelectionItem::index() const
}
-class SelectionViewItem : public QListViewItem
+class SelectionViewItem : public TQListViewItem
{
public:
- SelectionViewItem( TQListView *parent, Selection *selection,
+ SelectionViewItem( TQListView *tqparent, Selection *selection,
SelectionItem *item )
- : TQListViewItem( parent, "" ), mSelection( selection ), mItem( item )
+ : TQListViewItem( tqparent, "" ), mSelection( selection ), mItem( item )
{
if ( mItem->distributionList() == 0 )
mIcon = mSelection->itemIcon( mItem->addressee(), mItem->index() );
@@ -205,7 +205,7 @@ class SelectionViewItem : public QListViewItem
else
return mSelection->distributionListText( mItem->distributionList() );
} else
- return TQString::null;
+ return TQString();
}
const TQPixmap* pixmap( int column ) const
@@ -224,8 +224,8 @@ class SelectionViewItem : public QListViewItem
TQPixmap mIcon;
};
-AddresseeSelector::AddresseeSelector( Selection *selection, TQWidget *parent, const char *name )
- : TQWidget( parent, name ), mSelection( selection ), mManager( 0 )
+AddresseeSelector::AddresseeSelector( Selection *selection, TQWidget *tqparent, const char *name )
+ : TQWidget( tqparent, name ), mSelection( selection ), mManager( 0 )
{
mMoveMapper = new TQSignalMapper( this );
mRemoveMapper = new TQSignalMapper( this );
@@ -303,7 +303,7 @@ void AddresseeSelector::initGUI()
mRemoveMapper->setMapping( listView, i );
TQVBoxLayout *buttonLayout = new TQVBoxLayout( this );
- buttonLayout->tqsetAlignment( Qt::AlignBottom );
+ buttonLayout->tqsetAlignment( TQt::AlignBottom );
tqlayout->addLayout( buttonLayout, row, 1 );
// move button
@@ -561,8 +561,8 @@ void AddresseeSelector::reloadAddressBook()
AddresseeSelectorDialog::AddresseeSelectorDialog( Selection *selection,
- TQWidget *parent, const char *name )
- : KDialogBase( Plain, "", Ok | Cancel, Ok, parent, name, true )
+ TQWidget *tqparent, const char *name )
+ : KDialogBase( Plain, "", Ok | Cancel, Ok, tqparent, name, true )
{
TQFrame *frame = plainPage();
TQVBoxLayout *tqlayout = new TQVBoxLayout( frame );