File: ExternalAppModule.h

package info (click to toggle)
systemsettings 4%3A6.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,968 kB
  • sloc: cpp: 2,848; xml: 174; python: 47; makefile: 3; sh: 3
file content (37 lines) | stat: -rw-r--r-- 656 bytes parent folder | download | duplicates (2)
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: 2009 Ben Cooksley <bcooksley@kde.org>
 *
 *   SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef EXTERNALAPPMODULE_H
#define EXTERNALAPPMODULE_H

#include <KService>
#include <QWidget>

#include "ui_externalModule.h"

class QShowEvent;

class ExternalAppModule : public QWidget
{
    Q_OBJECT

public:
    explicit ExternalAppModule(const KService::Ptr &service);
    ~ExternalAppModule() override;

protected:
    void showEvent(QShowEvent *event) override;

private Q_SLOTS:
    void runExternal();

private:
    const KService::Ptr moduleService;
    Ui::ExternalModule externalModule;
    bool firstShow;
};

#endif