Switch to unified view

a/src/qtgui/uiprefs_w.h b/src/qtgui/uiprefs_w.h
1
/* @(#$Id: uiprefs_w.h,v 1.5 2006-12-04 09:56:27 dockes Exp $  (C) 2006 J.F.Dockes */
1
/* @(#$Id: uiprefs_w.h,v 1.6 2006-12-14 13:53:43 dockes Exp $  (C) 2006 J.F.Dockes */
2
/*
2
/*
3
 *   This program is free software; you can redistribute it and/or modify
3
 *   This program is free software; you can redistribute it and/or modify
4
 *   it under the terms of the GNU General Public License as published by
4
 *   it under the terms of the GNU General Public License as published by
5
 *   the Free Software Foundation; either version 2 of the License, or
5
 *   the Free Software Foundation; either version 2 of the License, or
6
 *   (at your option) any later version.
6
 *   (at your option) any later version.
...
...
15
 *   Free Software Foundation, Inc.,
15
 *   Free Software Foundation, Inc.,
16
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
16
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
17
 */
17
 */
18
#ifndef _UIPREFS_W_H_INCLUDED_
18
#ifndef _UIPREFS_W_H_INCLUDED_
19
#define _UIPREFS_W_H_INCLUDED_
19
#define _UIPREFS_W_H_INCLUDED_
20
/* @(#$Id: uiprefs_w.h,v 1.5 2006-12-04 09:56:27 dockes Exp $  (C) 2005 J.F.Dockes */
20
/* @(#$Id: uiprefs_w.h,v 1.6 2006-12-14 13:53:43 dockes Exp $  (C) 2005 J.F.Dockes */
21
#include <qvariant.h>
21
#include <qvariant.h>
22
#include <qdialog.h>
22
#include <qdialog.h>
23
23
24
#if (QT_VERSION < 0x040000)
24
#if (QT_VERSION < 0x040000)
25
#include "uiprefs.h"
25
#include "uiprefs.h"
...
...
42
 public: DummyUIPrefsDialogBase(QDialog *parent):QDialog(parent) {setupUi(this);}
42
 public: DummyUIPrefsDialogBase(QDialog *parent):QDialog(parent) {setupUi(this);}
43
};
43
};
44
#endif
44
#endif
45
//MOC_SKIP_END
45
//MOC_SKIP_END
46
46
47
class ViewAction;
48
47
class UIPrefsDialog : public DummyUIPrefsDialogBase
49
class UIPrefsDialog : public DummyUIPrefsDialogBase
48
{
50
{
49
    Q_OBJECT
51
    Q_OBJECT
50
52
51
public:
53
public:
...
...
61
63
62
    virtual void init();
64
    virtual void init();
63
65
64
public slots:
66
public slots:
65
    virtual void showFontDialog();
67
    virtual void showFontDialog();
68
    virtual void showViewAction();
66
    virtual void resetReslistFont();
69
    virtual void resetReslistFont();
67
    virtual void showBrowserDialog();
70
    virtual void showBrowserDialog();
68
    virtual void extraDbTextChanged( const QString & text );
71
    virtual void extraDbTextChanged( const QString & text );
69
    virtual void addAADbPB_clicked();
72
    virtual void addAADbPB_clicked();
70
    virtual void addADbPB_clicked();
73
    virtual void addADbPB_clicked();
...
...
77
    void uiprefsDone();
80
    void uiprefsDone();
78
81
79
protected slots:
82
protected slots:
80
    virtual void accept();
83
    virtual void accept();
81
    virtual void reject();
84
    virtual void reject();
82
 private:
85
private:
83
    void setFromPrefs();
86
    void setFromPrefs();
87
    ViewAction *m_viewAction;
88
84
};
89
};
85
90
86
91
87
#endif /* _UIPREFS_W_H_INCLUDED_ */
92
#endif /* _UIPREFS_W_H_INCLUDED_ */