summaryrefslogtreecommitdiffstats
path: root/kmail/distributionlistdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmail/distributionlistdialog.cpp
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 5f590b3b..62b4fcee 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;
}