moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kvoctrain / kvoctrain / kvoctraintableitem.h
bloba067664a40e746599ebb39c719b7e9763bf1ffc4
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 /***************************************************************************
18 * *
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. *
23 * *
24 ***************************************************************************/
26 #ifndef KVOCTRAINTABLEITEM_H
27 #define KVOCTRAINTABLEITEM_H
29 #include <qtable.h>
31 #include "kvoctraindoc.h"
32 #include "kv_resource.h"
34 /**
35 @author Peter Hedlund
37 class KVocTrainTableItem : public QTableItem
39 public:
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);
46 private:
47 kvoctrainDoc * m_doc;
50 #endif