as_tableitem.h

changeset 3
c1941114ca88
parent 1
d64aaa7d146f
child 12
ceb4ba3d2d00
     1.1 --- a/as_tableitem.h	Fri Nov 28 14:20:00 2008 +0100
     1.2 +++ b/as_tableitem.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 @@ -32,14 +32,14 @@
    1.22  #ifndef RTTABLEITEM_H
    1.23  #define RTTABLEITEM_H
    1.24  
    1.25 -#include <qtable.h>
    1.26 +#include <q3table.h>
    1.27  
    1.28  
    1.29 -class RtTableItem : public QTableItem
    1.30 +class RtTableItem : public Q3TableItem
    1.31  {
    1.32  public:
    1.33 -    RtTableItem(QTable *pTable, EditType eType, const QString &Text) : QTableItem(pTable, eType, Text) {m_nOwnalign = AlignRight | AlignVCenter;};
    1.34 -    void setAlignment(int nAlign = AlignRight | AlignVCenter) {m_nOwnalign = nAlign;};
    1.35 +    RtTableItem(Q3Table *pTable, EditType eType, const QString &Text) : Q3TableItem(pTable, eType, Text) {m_nOwnalign = Qt::AlignRight | Qt::AlignVCenter;};
    1.36 +    void setAlignment(int nAlign = Qt::AlignRight | Qt::AlignVCenter) {m_nOwnalign = nAlign;};
    1.37      int alignment() const {return m_nOwnalign;};
    1.38  
    1.39  private:

mercurial