summaryrefslogtreecommitdiffstats
path: root/kmail/distributionlistdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/distributionlistdialog.cpp')
-rw-r--r--kmail/distributionlistdialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/distributionlistdialog.cpp b/kmail/distributionlistdialog.cpp
index 5f590b3b9..62b4fcee4 100644
--- a/kmail/distributionlistdialog.cpp
+++ b/kmail/distributionlistdialog.cpp
@@ -43,11 +43,11 @@
#include <tqlabel.h>
#include <tqlineedit.h>
-class DistributionListItem : public QCheckListItem
+class DistributionListItem : public TQCheckListItem
{
public:
DistributionListItem( TQListView *list )
- : TQCheckListItem( list, TQString::null, CheckBox )
+ : TQCheckListItem( list, TQString(), CheckBox )
{
}
@@ -93,9 +93,9 @@ class DistributionListItem : public QCheckListItem
};
-DistributionListDialog::DistributionListDialog( TQWidget *parent )
+DistributionListDialog::DistributionListDialog( TQWidget *tqparent )
: KDialogBase( Plain, i18n("Save Distribution List"), User1 | Cancel,
- User1, parent, 0, false, false, i18n("Save List") )
+ User1, tqparent, 0, false, false, i18n("Save List") )
{
TQFrame *topFrame = plainPage();
@@ -112,7 +112,7 @@ DistributionListDialog::DistributionListDialog( TQWidget *parent )
mTitleEdit->setFocus();
mRecipientsList = new KListView( topFrame );
- mRecipientsList->addColumn( TQString::null );
+ mRecipientsList->addColumn( TQString() );
mRecipientsList->addColumn( i18n("Name") );
mRecipientsList->addColumn( i18n("Email") );
topLayout->addWidget( mRecipientsList );
@@ -131,7 +131,7 @@ void DistributionListDialog::setRecipients( const Recipient::List &recipients )
if ( !email.isEmpty() ) {
DistributionListItem *item = new DistributionListItem( mRecipientsList );
KABC::Addressee::List addressees =
- KABC::StdAddressBook::self( true )->tqfindByEmail( email );
+ KABC::StdAddressBook::self( true )->findByEmail( email );
if ( addressees.isEmpty() ) {
KABC::Addressee a;
a.setNameFromString( name );
@@ -182,7 +182,7 @@ void DistributionListDialog::slotUser1()
if ( name.isEmpty() ) {
bool ok = false;
name = KInputDialog::getText( i18n("New Distribution List"),
- i18n("Please enter name:"), TQString::null, &ok, this );
+ i18n("Please enter name:"), TQString(), &ok, this );
if ( !ok || name.isEmpty() )
return;
}