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

« back to all changes in this revision

Viewing changes to core/utilities/setup/setupcollections.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-02-01
7
7
 * Description : collections setup tab
8
8
 *
9
 
 * Copyright (C) 2005-2011 by Gilles Caulier <caulier dot gilles at gmail dot com>
 
9
 * Copyright (C) 2005-2012 by Gilles Caulier <caulier dot gilles at gmail dot com>
10
10
 *
11
11
 * This program is free software; you can redistribute it
12
12
 * and/or modify it under the terms of the GNU General
21
21
 *
22
22
 * ============================================================ */
23
23
 
24
 
#include "setupcollections.moc"
 
24
#include "setupcollections.h"
25
25
 
26
26
// Qt includes
27
27
 
59
59
namespace Digikam
60
60
{
61
61
 
62
 
class SetupCollections::SetupCollectionsPriv
 
62
class SetupCollections::Private
63
63
{
64
64
public:
65
65
 
66
 
    SetupCollectionsPriv() :
 
66
    Private() :
67
67
        rootsPathChanged(false),
68
68
        collectionView(0),
69
69
        collectionModel(0),
79
79
    KPageDialog*             mainDialog;
80
80
};
81
81
 
82
 
SetupCollections::SetupCollections(KPageDialog* dialog, QWidget* parent)
83
 
    : QScrollArea(parent), d(new SetupCollectionsPriv)
 
82
SetupCollections::SetupCollections(KPageDialog* const dialog, QWidget* const parent)
 
83
    : QScrollArea(parent), d(new Private)
84
84
{
85
 
    d->mainDialog  = dialog;
86
 
    QWidget* panel = new QWidget;
 
85
    d->mainDialog       = dialog;
 
86
    QWidget* panel      = new QWidget;
87
87
 
88
88
    QVBoxLayout* layout = new QVBoxLayout(panel);
89
89