• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kde-runtime API Reference
  • KDE Home
  • Contact Us
 

PlasmaComponents

  • sources
  • kde-4.14
  • kde-runtime
  • plasma
  • declarativeimports
  • plasmacomponents
enums.h
Go to the documentation of this file.
1 /*
2 * Copyright (C) 2011 by Marco Martin <mart@kde.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU Library General Public License as
6 * published by the Free Software Foundation; either version 2, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU Library General Public License for more details
13 *
14 * You should have received a copy of the GNU Library General Public
15 * License along with this program; if not, write to the
16 * Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef ENUMS_H
21 #define ENUMS_H
22 
23 #include <QObject>
24 
25 #include <QtDeclarative/qdeclarative.h>
26 
27 class DialogStatus : public QObject
28 {
29  Q_OBJECT
30  Q_ENUMS(Status)
31 
32 public:
33  enum Status {
34  Opening,
35  Open,
36  Closing,
37  Closed
38  };
39 };
40 
41 class PageOrientation : public QObject
42 {
43  Q_OBJECT
44  Q_ENUMS(Orientation)
45 
46 public:
47  enum Orientation {
48  Automatic,
49  LockPortrait,
50  LockLandscape,
51  LockPrevious,
52  Manual
53  };
54 };
55 
56 class PageStatus : public QObject
57 {
58  Q_OBJECT
59  Q_ENUMS(Status)
60 
61 public:
62  enum Status {
63  Inactive,
64  Activating,
65  Active,
66  Deactivating
67  };
68 };
69 
70 
71 #endif // ENUMS_H
PageStatus::Activating
Definition: enums.h:64
PageOrientation::Manual
Definition: enums.h:52
PageOrientation
Definition: enums.h:41
DialogStatus::Opening
Definition: enums.h:34
DialogStatus::Closed
Definition: enums.h:37
DialogStatus::Closing
Definition: enums.h:36
DialogStatus::Open
Definition: enums.h:35
PageStatus::Active
Definition: enums.h:65
PageOrientation::Orientation
Orientation
Definition: enums.h:47
PageStatus
Definition: enums.h:56
QObject
DialogStatus
Definition: enums.h:27
PageStatus::Deactivating
Definition: enums.h:66
PageStatus::Inactive
Definition: enums.h:63
PageOrientation::LockLandscape
Definition: enums.h:50
PageOrientation::LockPortrait
Definition: enums.h:49
PageStatus::Status
Status
Definition: enums.h:62
PageOrientation::Automatic
Definition: enums.h:48
PageOrientation::LockPrevious
Definition: enums.h:51
DialogStatus::Status
Status
Definition: enums.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:08:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

PlasmaComponents

Skip menu "PlasmaComponents"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List

kde-runtime API Reference

Skip menu "kde-runtime API Reference"
  • KCMShell
  • KNotify
  • Plasma Runtime
  •     PlasmaCore
  •     DragAndDrop
  •     PlasmaComponents
  •     PlasmaExtraComponents
  •     QtExtraComponents

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal