1 /***************************************************************************
3 table item for the main view
5 -----------------------------------------------------------------------
7 begin : Mon Dec 27 17:05:53 PST 2004
9 copyright : (C) 2004-2005 Peter Hedlund
11 email : peter@peterandlinda.com
13 -----------------------------------------------------------------------
15 ***************************************************************************/
17 /***************************************************************************
19 * This program is free software; you can redistribute it and/or modify *
20 * it under the terms of the GNU General Public License as published by *
21 * the Free Software Foundation; either version 2 of the License, or *
22 * (at your option) any later version. *
24 ***************************************************************************/
26 #ifndef KVOCTRAINTABLEITEM_H
27 #define KVOCTRAINTABLEITEM_H
31 #include "kvoctraindoc.h"
32 #include "kv_resource.h"
37 class KVocTrainTableItem
: public QTableItem
40 KVocTrainTableItem( QTable
*t
, EditType et
, kvoctrainDoc
*doc
);
41 QWidget
*createEditor() const;
42 void setContentFromEditor( QWidget
*w
);
43 void setPosition(int row
, int col
);
44 void setDoc(kvoctrainDoc
*doc
);