Switch to unified view

a/src/qtgui/uiprefs_w.h b/src/qtgui/uiprefs_w.h
1
/* @(#$Id: uiprefs_w.h,v 1.4 2006-12-04 08:17:24 dockes Exp $  (C) 2006 J.F.Dockes */
1
/* @(#$Id: uiprefs_w.h,v 1.5 2006-12-04 09:56:27 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.4 2006-12-04 08:17:24 dockes Exp $  (C) 2005 J.F.Dockes */
20
/* @(#$Id: uiprefs_w.h,v 1.5 2006-12-04 09:56:27 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"
...
...
31
31
32
//MOC_SKIP_BEGIN
32
//MOC_SKIP_BEGIN
33
#if QT_VERSION < 0x040000
33
#if QT_VERSION < 0x040000
34
class DummyUIPrefsDialogBase : public UIPrefsDialogBase
34
class DummyUIPrefsDialogBase : public UIPrefsDialogBase
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, protected Ui::UIPrefsDialogBase
41
{
41
{
42
 public: DummyUIPrefsDialogBase(QDialog *parent) {setupUi(parent);}
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 UIPrefsDialog : public DummyUIPrefsDialogBase
47
class UIPrefsDialog : public DummyUIPrefsDialogBase