File: stub-k3bapplication.cpp

package info (click to toggle)
k3b 25.12.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 55,820 kB
  • sloc: cpp: 99,202; xml: 375; sh: 84; makefile: 10
file content (43 lines) | stat: -rw-r--r-- 866 bytes parent folder | download | duplicates (3)
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
38
39
40
41
42
43
/*
    SPDX-FileCopyrightText: 2017 Pino Toscano <pino@kde.org>
    SPDX-License-Identifier: GPL-2.0-or-later
*/

#include "k3bcore.h"
#include "k3bexternalbinmanager.h"
#include "k3bthememanager.h"

namespace K3b {

    class Application
    {
    public:
        class Core;
    };

    class Application::Core : public K3b::Core
    {
    public:
        Core( QObject* parent );

        ThemeManager* themeManager() const { return m_themeManager; }

        static Core* k3bAppCore() { return s_k3bAppCore; }

    private:
        ThemeManager* m_themeManager;

        static Core* s_k3bAppCore;
    };
}

K3b::Application::Core* K3b::Application::Core::s_k3bAppCore = 0;

K3b::Application::Core::Core( QObject* parent )
    : K3b::Core( parent )
{
    s_k3bAppCore = this;
    m_themeManager = new ThemeManager( this );

    externalBinManager()->search();
}