1 /***************************************************************************
4 copyright : (C) 2004 by Peter Hedlund
5 email : peter@peterandlinda.com
6 ***************************************************************************/
8 /***************************************************************************
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
15 ***************************************************************************/
21 #include "wqlreader.h"
28 QFont
font() const {return m_font
;};
29 void setFont(const QFont
& font
) {m_font
= font
;};
31 int colWidth0() {return m_colWidth0
;};
32 void setColWidth0(int cw
) {m_colWidth0
= cw
;};
33 int colWidth1() {return m_colWidth1
;};
34 void setColWidth1(int cw
) {m_colWidth1
= cw
;};
35 int colWidth2() {return m_colWidth2
;};
36 void setColWidth2(int cw
) {m_colWidth2
= cw
;};
37 int numRows() {return m_numRows
;};
38 void setNumRows(int n
) {m_numRows
= n
;};
40 int currentRow() {return m_currentRow
;};
41 void setCurrentRow(int r
) {m_currentRow
= r
;};
42 int currentCol() {return m_currentCol
;};
43 void setCurrentCol(int c
) {m_currentCol
= c
;};
44 QTableSelection
selection() const {return m_selection
;};
45 void setSelection(const QTableSelection
& sel
) {m_selection
= sel
;};
47 KWqlDataItemList
list() const {return m_list
;};
48 void setList(const KWqlDataItemList
& list
) {m_list
= list
;};
50 QString
text() const {return m_text
;};
51 void setText(const QString
& s
) {m_text
= s
;};
61 QTableSelection m_selection
;
62 KWqlDataItemList m_list
;