as_numdial.h

changeset 3
c1941114ca88
parent 1
d64aaa7d146f
child 12
ceb4ba3d2d00
     1.1 --- a/as_numdial.h	Fri Nov 28 14:20:00 2008 +0100
     1.2 +++ b/as_numdial.h	Fri Dec 05 23:14:02 2008 +0100
     1.3 @@ -1,12 +1,12 @@
     1.4  //
     1.5  //  OSSP asgui - Accounting system graphical user interface
     1.6 -//  Copyright (c) 2002-2004 The OSSP Project (http://www.ossp.org/)
     1.7 -//  Copyright (c) 2002-2004 Ralf S. Engelschall <rse@engelschall.com>
     1.8 -//  Copyright (c) 2002-2004 Michael Schloh von Bennewitz <michael@schloh.com>
     1.9 -//  Copyright (c) 2002-2004 Cable & Wireless Telecommunications Services GmbH
    1.10 +//  Copyright (c) 2002-2008 The OSSP Project (http://www.ossp.org/)
    1.11 +//  Copyright (c) 2002-2008 Ralf S. Engelschall <rse@engelschall.com>
    1.12 +//  Copyright (c) 2002-2008 Michael Schloh von Bennewitz <michael@schloh.com>
    1.13 +//  Copyright (c) 2002-2008 Cable & Wireless Telecommunications Services GmbH
    1.14  //
    1.15  //  This file is part of OSSP asgui, an accounting system graphical user
    1.16 -//  interface which can be found at http://www.ossp.org/pkg/tool/asgui/.
    1.17 +//  interface which can be found at http://asgui.europalab.com/.
    1.18  //
    1.19  //  Permission to use, copy, modify, and distribute this software for
    1.20  //  any purpose with or without fee is hereby granted, provided that
    1.21 @@ -29,6 +29,8 @@
    1.22  //  as_numdial.h: ISO C++ interface
    1.23  //
    1.24  
    1.25 +#define QT3_SUPPORT
    1.26 +
    1.27  #ifndef NUMDIALOG_H
    1.28  #define NUMDIALOG_H
    1.29  
    1.30 @@ -36,11 +38,18 @@
    1.31  #include <qdialog.h>
    1.32  #include <qspinbox.h>
    1.33  
    1.34 +//Added by qt3to4:
    1.35 +#include <Q3VBoxLayout>
    1.36 +#include <Q3Frame>
    1.37 +#include <Q3GridLayout>
    1.38 +#include <Q3HBoxLayout>
    1.39 +#include <QLabel>
    1.40  
    1.41 -class QVBoxLayout;
    1.42 -class QHBoxLayout;
    1.43 -class QGridLayout;
    1.44 -class QFrame;
    1.45 +
    1.46 +class Q3VBoxLayout;
    1.47 +class Q3HBoxLayout;
    1.48 +class Q3GridLayout;
    1.49 +class Q3Frame;
    1.50  class QLabel;
    1.51  class QPushButton;
    1.52  
    1.53 @@ -51,10 +60,10 @@
    1.54      Q_OBJECT
    1.55  
    1.56  public:
    1.57 -    Numdial(QWidget *pParent = 0, const char *pkcName = 0, bool bModal = true, WFlags Flags = 0);
    1.58 +    Numdial(QWidget *pParent = 0, const char *pkcName = 0, bool bModal = true, Qt::WFlags Flags = 0);
    1.59  //    ~Numdial(void); // No need to destroy widgets, because qt does it for us
    1.60  
    1.61 -    QFrame *m_pFrame;
    1.62 +    Q3Frame *m_pFrame;
    1.63      QLabel *m_pReportlabel;
    1.64      QSpinBox *m_pSpinbox;
    1.65      QLabel *m_pWeeklabel;
    1.66 @@ -62,10 +71,10 @@
    1.67      QPushButton *m_pCancelbutt;
    1.68  
    1.69  protected:
    1.70 -    QVBoxLayout *m_pFormlayout;
    1.71 -    QVBoxLayout *m_pFramelay;
    1.72 -    QHBoxLayout *m_pInputlay;
    1.73 -    QHBoxLayout *m_pButtlay;
    1.74 +    Q3VBoxLayout *m_pFormlayout;
    1.75 +    Q3VBoxLayout *m_pFramelay;
    1.76 +    Q3HBoxLayout *m_pInputlay;
    1.77 +    Q3HBoxLayout *m_pButtlay;
    1.78  
    1.79  protected slots:
    1.80      virtual void textChange();

mercurial