~ubuntu-branches/ubuntu/trusty/digikam/trusty

« back to all changes in this revision

Viewing changes to core/showfoto/setup/setupmisc.cpp

  • Committer: Package Import Robot
  • Author(s): Rohan Garg
  • Date: 2012-11-26 18:24:20 UTC
  • mfrom: (1.9.1) (3.1.23 experimental)
  • Revision ID: package-import@ubuntu.com-20121126182420-qoy6z0nx4ai0wzcl
Tags: 4:3.0.0~beta3-0ubuntu1
* New upstream release
  - Add build-deps :  libhupnp-dev, libqtgstreamer-dev, libmagickcore-dev
* Merge from debian, remaining changes:
  - Make sure libqt4-opengl-dev, libgl1-mesa-dev and libglu1-mesa-dev only
    install on i386,amd64 and powerpc
  - Depend on libtiff-dev instead of libtiff4-dev
  - Drop digikam breaks/replaces kipi-plugins-common since we're past the
    LTS release now
  - digikam to recommend mplayerthumbs | ffmpegthumbs. We currently only
    have latter in the archives, even though former is also supposed to
    be part of kdemultimedia. (LP: #890059)
  - kipi-plugins to recommend www-browser rather than konqueror directly
    since 2.8 no direct usage of konqueror is present in the flickr
    plugin anymore (LP: #1011211)
  - Keep kubuntu_mysqld_executable_name.diff
  - Don't install libkipi translations
  - Keep deps on libcv-dev, libcvaux-dev
  - Keep split packaging of libraries
  - Replace icons from KDE 3 time in debian/xpm.d/*.xpm with the new
    versions (LP: #658047)
* Update debian/not-installed

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 * Date        : 2005-04-02
7
7
 * Description : setup Misc tab.
8
8
 *
9
 
 * Copyright (C) 2005-2011 by Gilles Caulier <caulier dot gilles at gmail dot com>
10
 
 * Copyright (C) 2008 by Arnd Baecker <arnd dot baecker at web dot de>
 
9
 * Copyright (C) 2005-2012 by Gilles Caulier <caulier dot gilles at gmail dot com>
 
10
 * Copyright (C)      2008 by Arnd Baecker <arnd dot baecker at web dot de>
11
11
 *
12
12
 * This program is free software; you can redistribute it
13
13
 * and/or modify it under the terms of the GNU General
48
48
namespace ShowFoto
49
49
{
50
50
 
51
 
class SetupMisc::SetupMiscPriv
 
51
class SetupMisc::Private
52
52
{
53
53
public:
54
54
 
55
 
    SetupMiscPriv() :
 
55
    Private() :
56
56
        sidebarTypeLabel(0),
57
57
        applicationStyleLabel(0),
58
58
        showSplash(0),
83
83
    KComboBox*           applicationStyle;
84
84
};
85
85
 
86
 
const QString SetupMisc::SetupMiscPriv::configGroupName("ImageViewer Settings");
87
 
const QString SetupMisc::SetupMiscPriv::configDeleteItem2TrashEntry("DeleteItem2Trash");
88
 
const QString SetupMisc::SetupMiscPriv::configShowSplashEntry("ShowSplash");
89
 
const QString SetupMisc::SetupMiscPriv::configSidebarTitleStyleEntry("Sidebar Title Style");
90
 
const QString SetupMisc::SetupMiscPriv::configSortOrderEntry("SortOrder");
91
 
const QString SetupMisc::SetupMiscPriv::configReverseSortEntry("ReverseSort");
92
 
const QString SetupMisc::SetupMiscPriv::configApplicationStyleEntry("Application Style");
 
86
const QString SetupMisc::Private::configGroupName("ImageViewer Settings");
 
87
const QString SetupMisc::Private::configDeleteItem2TrashEntry("DeleteItem2Trash");
 
88
const QString SetupMisc::Private::configShowSplashEntry("ShowSplash");
 
89
const QString SetupMisc::Private::configSidebarTitleStyleEntry("Sidebar Title Style");
 
90
const QString SetupMisc::Private::configSortOrderEntry("SortOrder");
 
91
const QString SetupMisc::Private::configReverseSortEntry("ReverseSort");
 
92
const QString SetupMisc::Private::configApplicationStyleEntry("Application Style");
93
93
 
94
94
// --------------------------------------------------------
95
95
 
96
 
SetupMisc::SetupMisc(QWidget* parent)
97
 
    : QScrollArea(parent), d(new SetupMiscPriv)
 
96
SetupMisc::SetupMisc(QWidget* const parent)
 
97
    : QScrollArea(parent), d(new Private)
98
98
{
99
 
    QWidget* panel = new QWidget(viewport());
 
99
    QWidget* panel      = new QWidget(viewport());
100
100
    setWidget(panel);
101
101
    setWidgetResizable(true);
102
102