2
Copyright (C) 2010 Klarälvdalens Datakonsult AB,
3
a KDAB Group company, info@kdab.net,
4
author Tobias Koenig <tokoe@kdab.com>
6
This library is free software; you can redistribute it and/or modify it
7
under the terms of the GNU Library General Public License as published by
8
the Free Software Foundation; either version 2 of the License, or (at your
9
option) any later version.
11
This library is distributed in the hope that it will be useful, but WITHOUT
12
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
14
License for more details.
16
You should have received a copy of the GNU Library General Public License
17
along with this library; see the file COPYING.LIB. If not, write to the
18
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22
#ifndef EMAILSGUISTATEMANAGER_H
23
#define EMAILSGUISTATEMANAGER_H
25
#include "../lib/guistatemanager.h"
27
class EmailsGuiStateManager : public GuiStateManager
31
Q_PROPERTY( bool inManageAclsState READ inManageAclsState NOTIFY guiStateChanged )
32
Q_PROPERTY( bool inManageFiltersState READ inManageFiltersState NOTIFY guiStateChanged )
38
ManageAclsState = GuiStateManager::UserState,
43
* Returns whether the current state is the manage acls state.
45
bool inManageAclsState() const;
48
* Returns whether the current state is the manage filters state.
50
bool inManageFiltersState() const;
53
void guiStateChanged();
56
virtual void emitChangedSignal();