summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/dialogs/codevieweroptionspage.h
blob: ec01f17049e3e248be2b745ab63c5e5a92ed75bb (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
41
42
43
44
45
46
47
48
49
50
51
52
/***************************************************************************
                          codegenerationoptionspage.h  -  description
                             -------------------
    begin                : Thu Jul 25 2002
    copyright            : (C) 2002 by Luis De la Parra
    email                : luis@delaparra.org
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef CODEVIEWEROPTIONSPAGE_H
#define CODEVIEWEROPTIONSPAGE_H

#include <qwidget.h>
#include "codevieweroptionsbase.h"
#include "../codeviewerstate.h"

/**
 * @author Brian Thomas
 */

class CodeViewerOptionsPage : public CodeViewerOptionsBase  {
    Q_OBJECT
public:
    CodeViewerOptionsPage (Settings::CodeViewerState options, QWidget *parent, const char *name=0);
    ~CodeViewerOptionsPage();

    Settings::CodeViewerState getOptions();
    void apply();

protected:

private:

    Settings::CodeViewerState m_options;
    void init ( Settings::CodeViewerState options);

protected slots:

signals:
    void applyClicked();

};

#endif