diff -r e8292658d5b3 -r c1941114ca88 as_helpanel.h --- a/as_helpanel.h Fri Nov 28 14:20:00 2008 +0100 +++ b/as_helpanel.h Fri Dec 05 23:14:02 2008 +0100 @@ -1,12 +1,12 @@ // // OSSP asgui - Accounting system graphical user interface -// Copyright (c) 2002-2004 The OSSP Project (http://www.ossp.org/) -// Copyright (c) 2002-2004 Ralf S. Engelschall -// Copyright (c) 2002-2004 Michael Schloh von Bennewitz -// Copyright (c) 2002-2004 Cable & Wireless Telecommunications Services GmbH +// Copyright (c) 2002-2008 The OSSP Project (http://www.ossp.org/) +// Copyright (c) 2002-2008 Ralf S. Engelschall +// Copyright (c) 2002-2008 Michael Schloh von Bennewitz +// Copyright (c) 2002-2008 Cable & Wireless Telecommunications Services GmbH // // This file is part of OSSP asgui, an accounting system graphical user -// interface which can be found at http://www.ossp.org/pkg/tool/asgui/. +// interface which can be found at http://asgui.europalab.com/. // // Permission to use, copy, modify, and distribute this software for // any purpose with or without fee is hereby granted, provided that @@ -29,17 +29,23 @@ // as_helpanel.h: ISO C++ interface // +#define QT3_SUPPORT + #ifndef HELPANEL_H #define HELPANEL_H #include #include +//Added by qt3to4: +#include +#include -class QVBoxLayout; -class QHBoxLayout; + +class Q3VBoxLayout; +class Q3HBoxLayout; class QPushButton; -class QTextBrowser; +class Q3TextBrowser; namespace AS { @@ -49,16 +55,16 @@ public: Helpanel(const QString &, QWidget *pParent = 0, const char *kszName = 0, - bool bModal = true, WFlags Flags = 0); + bool bModal = true, Qt::WFlags Flags = 0); // ~Helpanel(void); // No need to destroy widgets, because qt does it for us public: - QTextBrowser *m_pBrowser; + Q3TextBrowser *m_pBrowser; QPushButton *m_pDismissbutt; protected: - QVBoxLayout *m_pFormlay; - QHBoxLayout *m_pButtlay; + Q3VBoxLayout *m_pFormlay; + Q3HBoxLayout *m_pButtlay; protected slots: virtual void textChange(void);