as_helpanel.h

changeset 3
c1941114ca88
parent 1
d64aaa7d146f
child 12
ceb4ba3d2d00
     1.1 --- a/as_helpanel.h	Fri Nov 28 14:20:00 2008 +0100
     1.2 +++ b/as_helpanel.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,17 +29,23 @@
    1.22  //  as_helpanel.h: ISO C++ interface
    1.23  //
    1.24  
    1.25 +#define QT3_SUPPORT
    1.26 +
    1.27  #ifndef HELPANEL_H
    1.28  #define HELPANEL_H
    1.29  
    1.30  #include <qvariant.h>
    1.31  #include <qdialog.h>
    1.32  
    1.33 +//Added by qt3to4:
    1.34 +#include <Q3HBoxLayout>
    1.35 +#include <Q3VBoxLayout>
    1.36  
    1.37 -class QVBoxLayout;
    1.38 -class QHBoxLayout;
    1.39 +
    1.40 +class Q3VBoxLayout;
    1.41 +class Q3HBoxLayout;
    1.42  class QPushButton;
    1.43 -class QTextBrowser;
    1.44 +class Q3TextBrowser;
    1.45  
    1.46  namespace AS {
    1.47  
    1.48 @@ -49,16 +55,16 @@
    1.49  
    1.50  public:
    1.51      Helpanel(const QString &, QWidget *pParent = 0, const char *kszName = 0,
    1.52 -        bool bModal = true, WFlags Flags = 0);
    1.53 +        bool bModal = true, Qt::WFlags Flags = 0);
    1.54  //    ~Helpanel(void); // No need to destroy widgets, because qt does it for us
    1.55  
    1.56  public:
    1.57 -    QTextBrowser *m_pBrowser;
    1.58 +    Q3TextBrowser *m_pBrowser;
    1.59      QPushButton  *m_pDismissbutt;
    1.60  
    1.61  protected:
    1.62 -    QVBoxLayout *m_pFormlay;
    1.63 -    QHBoxLayout *m_pButtlay;
    1.64 +    Q3VBoxLayout *m_pFormlay;
    1.65 +    Q3HBoxLayout *m_pButtlay;
    1.66  
    1.67  protected slots:
    1.68      virtual void textChange(void);

mercurial