SVN_SILENT made messages (.desktop file) - always resolve ours
[kdepim.git] / accountwizard / inprocess-main.cpp
blobc08777785426ff29ddcecfc7ad885a90601bdb0b
1 /*
2 Copyright (c) 2010 Volker Krause <vkrause@kde.org>
4 This library is free software; you can redistribute it and/or modify it
5 under the terms of the GNU Library General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or (at your
7 option) any later version.
9 This library is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
12 License for more details.
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to the
16 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17 02110-1301, USA.
20 #include "dialog.h"
21 #include "inprocess-main.h"
22 #include "global.h"
24 #include <QObject>
25 #include <QtPlugin>
26 #include <QStringList>
28 AccountWizard::AccountWizard(QObject *parent)
29 : QObject(parent)
33 void AccountWizard::run(const QStringList &types, QWidget *parent)
35 if (!types.isEmpty()) {
36 Global::setTypeFilter(types);
38 Dialog dlg(parent);
39 dlg.exec();