~ubuntu-branches/ubuntu/trusty/kdeplasma-addons/trusty

« back to all changes in this revision

Viewing changes to dataengines/kdecommits/src/kdepresets.h

  • Committer: Bazaar Package Importer
  • Author(s): Philip Muškovac, Philip Muškovac, Felix Geyer
  • Date: 2011-06-07 00:52:20 UTC
  • mfrom: (0.1.12 sid)
  • Revision ID: james.westby@ubuntu.com-20110607005220-vvxuceku1xegr73s
Tags: 4:4.6.3-1ubuntu1
[ Philip Muškovac ]
* Merge from debian. Remaining changes: 
  - Keep our patch
  - Add debian/xinput folder
  - Build plasma-widget-kdeobservatory, plasma-widget-kimpanel,
    plasma-widget-kimpanel-backend-ibus
  - plasma-wallpapers-addons depends on plasma-dataengines-workspace,
    kdewallpapers, kdebase-workspace-wallpapers
  - Add plasma-widget-kimpanel-backend-ibus.{install, postinst, prerm}
  - Don't install kimpanel in plasma-widget-addons
  - Build against libboost1.46-dev
  - plasma-dataengines-addons replaces kdeplasma-addons (<< 4:4.4.60) and
    plasma-widgets-addons (<< 4:4.4.60)
  - plasma-widgets-addons suggests plasma-widget-lancelot instead of
    recommends
  - plasma-widgets-addons Breaks/Replaces plasma-widget-system-status
  - Build-depend on shared-mime-info and libglib2.0-dev
* Update Vcs- links as the branch is now owned by kubuntu-packagers

[ Felix Geyer ]
* Add python to plasma-widget-kimpanel-backend-ibus dependencies.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*************************************************************************
 
2
 * Copyright 2009 Sandro Andrade sandroandrade@kde.org                   *
 
3
 *                                                                       *
 
4
 * This program is free software; you can redistribute it and/or         *
 
5
 * modify it under the terms of the GNU General Public License as        *
 
6
 * published by the Free Software Foundation; either version 2 of        *
 
7
 * the License or (at your option) version 3 or any later version        *
 
8
 * accepted by the membership of KDE e.V. (or its successor approved     *
 
9
 * by the membership of KDE e.V.), which shall act as a proxy            *
 
10
 * defined in Section 14 of version 3 of the license.                    *
 
11
 *                                                                       *
 
12
 * This program is distributed in the hope that it will be useful,       *
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 
15
 * GNU General Public License for more details.                          *
 
16
 *                                                                       *
 
17
 * You should have received a copy of the GNU General Public License     *
 
18
 * along with this program.  If not, see <http://www.gnu.org/licenses/>. *
 
19
 * ***********************************************************************/
 
20
 
 
21
#ifndef KDEPRESETS_HEADER
 
22
#define KDEPRESETS_HEADER
 
23
 
 
24
#include <QStringList>
 
25
 
 
26
class KdePresets
 
27
{
 
28
public:
 
29
    static void init(const QString &data);
 
30
 
 
31
    enum PresetInfo
 
32
    {
 
33
        ProjectName = 0,
 
34
        ProjectCommitSubject,
 
35
        ProjectKrazyReport,
 
36
        ProjectKrazyFilePrefix,
 
37
        ProjectIcon
 
38
    };
 
39
 
 
40
    static QStringList preset(PresetInfo info);
 
41
    static QList<QVariant> automaticallyInViews();
 
42
    static QStringList viewsPreset();
 
43
    static QList<QVariant> viewsActivePreset();
 
44
 
 
45
private:
 
46
    static QList<QStringList> presets;
 
47
};
 
48
 
 
49
#endif