~ubuntu-branches/debian/sid/kexi/sid

« back to all changes in this revision

Viewing changes to src/mobile/KexiMobileWidget.h

  • Committer: Package Import Robot
  • Author(s): Pino Toscano
  • Date: 2017-06-24 20:10:10 UTC
  • Revision ID: package-import@ubuntu.com-20170624201010-5lrzd5r2vwthwifp
Tags: upstream-3.0.1.1
ImportĀ upstreamĀ versionĀ 3.0.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**  This file is part of the KDE project
 
2
 *
 
3
 *  Copyright (C) 2011 Adam Pigg <adam@piggz.co.uk>
 
4
 *
 
5
 *  This library is free software; you can redistribute it and/or
 
6
 *  modify it under the terms of the GNU Library General Public
 
7
 *  License as published by the Free Software Foundation; either
 
8
 *  version 2 of the License, or (at your option) any later version.
 
9
 *
 
10
 *  This library is distributed in the hope that it will be useful,
 
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
13
 *  Library General Public License for more details.
 
14
 *
 
15
 *  You should have received a copy of the GNU Library General Public License
 
16
 *  along with this library; see the file COPYING.LIB.  If not, write to
 
17
 *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 
18
 *  Boston, MA 02110-1301, USA.
 
19
 */
 
20
 
 
21
#ifndef KEXIMOBILEWIDHET_H
 
22
#define KEXIMOBILEWIDHET_H
 
23
 
 
24
#include <QStackedWidget>
 
25
#include <core/kexiproject.h>
 
26
 
 
27
class KexiMobileNavigator;
 
28
class KexiProject;
 
29
 
 
30
class KexiMobileWidget : public QStackedWidget
 
31
{
 
32
    Q_OBJECT
 
33
public:
 
34
    explicit KexiMobileWidget(KexiProject *p);
 
35
    virtual ~KexiMobileWidget();
 
36
    void databaseOpened(KexiProject*);
 
37
 
 
38
    KexiMobileNavigator *navigator();
 
39
    void setActiveObject(KexiWindow* win);
 
40
    KexiWindow* activeObject();
 
41
 
 
42
public Q_SLOTS:
 
43
    void showNavigator();
 
44
 
 
45
private:
 
46
    KexiProject *m_project;
 
47
 
 
48
    KexiMobileNavigator *m_navWidget;
 
49
    KexiWindow* m_objectPage;
 
50
};
 
51
 
 
52
#endif