/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ * \/ \/ \/ \/ \/ * * * Copyright (C) 2006 by Frank Dischner * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY * KIND, either express or implied. * ****************************************************************************/ extern const char jamo_table[51][3]; unsigned short hangul_join(unsigned short lead, unsigned short vowel, unsigned short tail); lf3d'>wolf3d My Rockbox treeFranklin Wei
summaryrefslogtreecommitdiff
path: root/utils/themeeditor/gui/tabcontent.h
blob: 30d80fedf5fcb41631d1519535291942d7dd302f (plain)
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
#ifndef TABCONTENT_H
#define TABCONTENT_H

#include <QWidget>

class PreferencesDialog;

class TabContent : public QWidget
{
Q_OBJECT
public:
    enum TabType
    {
        Skin,
        Config
    };

    TabContent(QWidget *parent = 0): QWidget(parent){ }

    virtual TabType type() const = 0;
    virtual QString title() const = 0;
    virtual QString file() const = 0;

    virtual void save() = 0;
    virtual void saveAs() = 0;

    virtual bool requestClose() = 0;

    virtual void connectPrefs(PreferencesDialog* prefs) = 0;

signals:
    void titleChanged(QString);
    void lineChanged(int);

public slots:
    virtual void settingsChanged() = 0;

};

#endif // TABCONTENT_H