Switch to unified view

a/src/qtgui/uiprefs_w.h b/src/qtgui/uiprefs_w.h
1
/* @(#$Id: uiprefs_w.h,v 1.7 2007-01-13 15:21:41 dockes Exp $  (C) 2006 J.F.Dockes */
1
/* @(#$Id: uiprefs_w.h,v 1.8 2007-02-08 09:03:29 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.7 2007-01-13 15:21:41 dockes Exp $  (C) 2005 J.F.Dockes */
20
/* @(#$Id: uiprefs_w.h,v 1.8 2007-02-08 09:03:29 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"
...
...
35
{
35
{
36
public: DummyUIPrefsDialogBase(QWidget* parent = 0) 
36
public: DummyUIPrefsDialogBase(QWidget* parent = 0) 
37
    : UIPrefsDialogBase(parent) {}
37
    : UIPrefsDialogBase(parent) {}
38
};
38
};
39
#else
39
#else
40
class DummyUIPrefsDialogBase : public QDialog, protected Ui::UIPrefsDialogBase
40
class DummyUIPrefsDialogBase : public QDialog, public Ui::UIPrefsDialogBase
41
{
41
{
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