1
/***************************************************************************
2
* Copyright (C) 2008-2010 by Daniel Nicoletti *
3
* dantti85-pk@yahoo.com.br *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
10
* This program is distributed in the hope that it will be useful, *
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13
* GNU General Public License for more details. *
15
* You should have received a copy of the GNU General Public License *
16
* along with this program; see the file COPYING. If not, write to *
17
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, *
18
* Boston, MA 02110-1301, USA. *
19
***************************************************************************/
24
#include <kdemacros.h>
26
#include <Transaction>
28
using namespace PackageKit;
32
KDE_EXPORT QString finished(Transaction::Exit status);
33
KDE_EXPORT QString infoPresent(Package::Info info);
34
KDE_EXPORT QString infoPast(Package::Info info);
35
KDE_EXPORT QString error(Transaction::Error error);
36
KDE_EXPORT QString errorMessage(Transaction::Error error);
37
KDE_EXPORT QString message(Transaction::Message type);
38
KDE_EXPORT QString status(Transaction::Status status);
39
KDE_EXPORT QString statusPast(Transaction::Status status);
40
KDE_EXPORT QString groups(Package::Group group);
41
KDE_EXPORT QString info(Package::Info state);
42
KDE_EXPORT QString packageQuantity(bool updates, int packages, int selected);
43
KDE_EXPORT QString updateState(Package::UpdateState value);
44
KDE_EXPORT QString restartType(Package::Restart value);
45
KDE_EXPORT QString restartTypeFuture(Package::Restart value);
46
KDE_EXPORT QString action(Transaction::Role action);
47
KDE_EXPORT QString actionPast(Transaction::Role action);
48
KDE_EXPORT QString mediaMessage(Transaction::MediaType value, const QString &text);
49
KDE_EXPORT QString daemonError(Transaction::InternalError value);