summaryrefslogtreecommitdiffstats
path: root/kvoctrain/kvoctrain/kvoctraintableitem.h
blob: aa3b7cdd75db4439e5a8ab83bf642c15af92752a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/***************************************************************************

                      table item for the main view

    -----------------------------------------------------------------------

    begin                : Mon Dec 27 17:05:53 PST 2004

    copyright            : (C) 2004-2005 Peter Hedlund

    email                : peter.hedlund@kdemail.net

    -----------------------------------------------------------------------

 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef KVOCTRAINTABLEITEM_H
#define KVOCTRAINTABLEITEM_H

#include <tqtable.h>

#include "kvoctraindoc.h"
#include "kv_resource.h"

/**
@author Peter Hedlund
 */
class KVocTrainTableItem : public QTableItem
{
  public:
    KVocTrainTableItem( TQTable *t, EditType et, kvoctrainDoc *doc );
    TQWidget *createEditor() const;
    void setContentFromEditor( TQWidget *w );
    void setPosition(int row, int col);
    void setDoc(kvoctrainDoc *doc);

  private:
    kvoctrainDoc * m_doc;
};

#endif