File: dialognativetest.h

package info (click to toggle)
libplasma 6.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,796 kB
  • sloc: cpp: 17,769; sh: 286; xml: 95; python: 57; javascript: 29; makefile: 7
file content (37 lines) | stat: -rw-r--r-- 655 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
    SPDX-FileCopyrightText: 2014 Marco Martin <mart@kde.org>

    SPDX-License-Identifier: LGPL-2.0-or-later
*/
#ifndef DIALOGNATIVETEST_H
#define DIALOGNATIVETEST_H

#include <QQuickItem>
#include <QQuickView>
#include <QTest>

#include "plasmaquick/dialog.h"

class DialogNativeTest : public QObject
{
    Q_OBJECT

public Q_SLOTS:
    void initTestCase();
    void cleanupTestCase();

private Q_SLOTS:
    void size();
    void position();

private:
    QQuickView *m_panel;
    QQuickView *m_panel2;
    QQuickView *m_panel3;
    QQuickItem *m_content;
    QQuickItem *m_content2;
    PlasmaQuick::Dialog *m_dialog;
    QDir m_cacheDir;
};

#endif