~ubuntu-branches/ubuntu/precise/gwenview/precise-proposed

« back to all changes in this revision

Viewing changes to lib/sorting.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 14:17:54 UTC
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: package-import@ubuntu.com-20111215141754-z043hyx69dulbggf
Tags: upstream-4.7.90
Import upstream version 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// vim: set tabstop=4 shiftwidth=4 noexpandtab:
 
1
// vim: set tabstop=4 shiftwidth=4 expandtab:
2
2
/*
3
3
Gwenview: an image viewer
4
4
Copyright 2008 Aurélien Gâteau <agateau@kde.org>
27
27
 
28
28
// Local
29
29
 
30
 
namespace Gwenview {
 
30
namespace Gwenview
 
31
{
31
32
 
32
 
namespace Sorting {
33
 
        /**
34
 
         * This enum represents the different sorting orders.
35
 
         * For now it maps with KDirModel::ModelColumns, but in the future it may
36
 
         * be possible to add custom sort orders like Rating.
37
 
         */
38
 
        enum Enum {
39
 
                Name,
40
 
                Size,
41
 
                Date
42
 
        };
 
33
namespace Sorting
 
34
{
 
35
/**
 
36
 * This enum represents the different sorting orders.
 
37
 * For now it maps with KDirModel::ModelColumns, but in the future it may
 
38
 * be possible to add custom sort orders like Rating.
 
39
 */
 
40
enum Enum {
 
41
    Name,
 
42
    Size,
 
43
    Date
 
44
};
43
45
 
44
46
} // namespace Sorting
45
47