Fix confusing checkbox text due to class reuse
[kdepim.git] / kmail / addressvalidationjob.h
blobdfe33bde66e65aa80c1c987711501c3e34cae932
1 /*
2 * This file is part of KMail.
4 * Copyright (c) 2010 KDAB
6 * Author: Tobias Koenig <tokoe@kde.org>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License along
19 * with this program; if not, write to the Free Software Foundation, Inc.,
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 #ifndef ADDRESSVALIDATIONJOB_H
24 #define ADDRESSVALIDATIONJOB_H
26 #include <kjob.h>
28 class AddressValidationJob : public KJob
30 Q_OBJECT
32 public:
33 AddressValidationJob( const QString &emailAddresses, QWidget *parentWidget, QObject *parent = 0 );
34 ~AddressValidationJob();
36 virtual void start();
38 bool isValid() const;
40 private:
41 //@cond PRIVATE
42 class Private;
43 Private* const d;
45 Q_PRIVATE_SLOT( d, void slotAliasExpansionDone( KJob* ) )
46 //@endcond
49 #endif