1 // |
1 // |
2 // OSSP asgui - Accounting system graphical user interface |
2 // OSSP asgui - Accounting system graphical user interface |
3 // Copyright (c) 2002-2004 The OSSP Project (http://www.ossp.org/) |
3 // Copyright (c) 2002-2008 The OSSP Project (http://www.ossp.org/) |
4 // Copyright (c) 2002-2004 Ralf S. Engelschall <rse@engelschall.com> |
4 // Copyright (c) 2002-2008 Ralf S. Engelschall <rse@engelschall.com> |
5 // Copyright (c) 2002-2004 Michael Schloh von Bennewitz <michael@schloh.com> |
5 // Copyright (c) 2002-2008 Michael Schloh von Bennewitz <michael@schloh.com> |
6 // Copyright (c) 2002-2004 Cable & Wireless Telecommunications Services GmbH |
6 // Copyright (c) 2002-2008 Cable & Wireless Telecommunications Services GmbH |
7 // |
7 // |
8 // This file is part of OSSP asgui, an accounting system graphical user |
8 // This file is part of OSSP asgui, an accounting system graphical user |
9 // interface which can be found at http://www.ossp.org/pkg/tool/asgui/. |
9 // interface which can be found at http://asgui.europalab.com/. |
10 // |
10 // |
11 // Permission to use, copy, modify, and distribute this software for |
11 // Permission to use, copy, modify, and distribute this software for |
12 // any purpose with or without fee is hereby granted, provided that |
12 // any purpose with or without fee is hereby granted, provided that |
13 // the above copyright notice and this permission notice appear in all |
13 // the above copyright notice and this permission notice appear in all |
14 // copies. |
14 // copies. |
30 // |
30 // |
31 |
31 |
32 #ifndef RTTABLEITEM_H |
32 #ifndef RTTABLEITEM_H |
33 #define RTTABLEITEM_H |
33 #define RTTABLEITEM_H |
34 |
34 |
35 #include <qtable.h> |
35 #include <q3table.h> |
36 |
36 |
37 |
37 |
38 class RtTableItem : public QTableItem |
38 class RtTableItem : public Q3TableItem |
39 { |
39 { |
40 public: |
40 public: |
41 RtTableItem(QTable *pTable, EditType eType, const QString &Text) : QTableItem(pTable, eType, Text) {m_nOwnalign = AlignRight | AlignVCenter;}; |
41 RtTableItem(Q3Table *pTable, EditType eType, const QString &Text) : Q3TableItem(pTable, eType, Text) {m_nOwnalign = Qt::AlignRight | Qt::AlignVCenter;}; |
42 void setAlignment(int nAlign = AlignRight | AlignVCenter) {m_nOwnalign = nAlign;}; |
42 void setAlignment(int nAlign = Qt::AlignRight | Qt::AlignVCenter) {m_nOwnalign = nAlign;}; |
43 int alignment() const {return m_nOwnalign;}; |
43 int alignment() const {return m_nOwnalign;}; |
44 |
44 |
45 private: |
45 private: |
46 int m_nOwnalign; |
46 int m_nOwnalign; |
47 }; |
47 }; |