diff -r e8292658d5b3 -r c1941114ca88 as_reportpanel.h --- a/as_reportpanel.h Fri Nov 28 14:20:00 2008 +0100 +++ b/as_reportpanel.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,6 +29,8 @@ // as_reportpanel.h: ISO C++ interface // +#define QT3_SUPPORT + #ifndef REPORTPANEL_H #define REPORTPANEL_H @@ -36,17 +38,23 @@ #include #include +//Added by qt3to4: +#include +#include +#include +#include + class TiTable; class Preferences; -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; +class Q3VBoxLayout; +class Q3HBoxLayout; +class Q3GridLayout; class QPushButton; -class QTextEdit; +class Q3TextEdit; class QToolButton; -class QButtonGroup; -class QPopupMenu; +class Q3ButtonGroup; +class Q3PopupMenu; class QPrinter; namespace AS { @@ -57,26 +65,26 @@ public: Reportpanel(TiTable *, Preferences *, QWidget *pParent = 0, - const char *kszName = 0, bool bModal = true, WFlags Flags = 0); + const char *kszName = 0, bool bModal = true, Qt::WFlags Flags = 0); // ~Reportpanel(void); // No need to destroy widgets, because qt does it for us public: - QButtonGroup *m_pWeekmonthgroup; + Q3ButtonGroup *m_pWeekmonthgroup; QToolButton *m_pWeeklybutt; QToolButton *m_pMonthlybutt; - QTextEdit *m_pBrowser; + Q3TextEdit *m_pBrowser; QPushButton *m_pSavebutt; QPushButton *m_pDismissbutt; QPushButton *m_pPrintbutt; protected: - QVBoxLayout *m_pFormlay; - QVBoxLayout *m_pGrouplay; - QHBoxLayout *m_pToolay; - QHBoxLayout *m_pPushlay; - QHBoxLayout *m_pWeekmonthlay; - QPopupMenu *m_pWeekpop; - QPopupMenu *m_pMonthpop; + Q3VBoxLayout *m_pFormlay; + Q3VBoxLayout *m_pGrouplay; + Q3HBoxLayout *m_pToolay; + Q3HBoxLayout *m_pPushlay; + Q3HBoxLayout *m_pWeekmonthlay; + Q3PopupMenu *m_pWeekpop; + Q3PopupMenu *m_pMonthpop; private: int m_nWeeks;