ossp-pkg/as/as-gui/as_tableitem.h 1.4 -> 1.5
--- as_tableitem.h 2002/11/28 20:44:36 1.4
+++ as_tableitem.h 2002/12/04 20:30:54 1.5
@@ -38,8 +38,8 @@
class RtTableItem : public QTableItem
{
public:
- RtTableItem(QTable *pTable, EditType eType, const QString &Text) : QTableItem(pTable, eType, Text) {m_nOwnalign = AlignRight | Qt::AlignVCenter;};
- void setAlignment(int nAlign) {m_nOwnalign = nAlign;};
+ RtTableItem(QTable *pTable, EditType eType, const QString &Text) : QTableItem(pTable, eType, Text) {m_nOwnalign = AlignRight | AlignVCenter;};
+ void setAlignment(int nAlign = AlignRight | AlignVCenter) {m_nOwnalign = nAlign;};
int alignment() const {return m_nOwnalign;};
private:
|
|