summaryrefslogtreecommitdiffstats
path: root/kvoctrain/kvoctrain/kvoctraintableitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'kvoctrain/kvoctrain/kvoctraintableitem.h')
-rw-r--r--kvoctrain/kvoctrain/kvoctraintableitem.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/kvoctrain/kvoctrain/kvoctraintableitem.h b/kvoctrain/kvoctrain/kvoctraintableitem.h
new file mode 100644
index 00000000..fc347e43
--- /dev/null
+++ b/kvoctrain/kvoctrain/kvoctraintableitem.h
@@ -0,0 +1,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 <qtable.h>
+
+#include "kvoctraindoc.h"
+#include "kv_resource.h"
+
+/**
+@author Peter Hedlund
+ */
+class KVocTrainTableItem : public QTableItem
+{
+ public:
+ KVocTrainTableItem( QTable *t, EditType et, kvoctrainDoc *doc );
+ QWidget *createEditor() const;
+ void setContentFromEditor( QWidget *w );
+ void setPosition(int row, int col);
+ void setDoc(kvoctrainDoc *doc);
+
+ private:
+ kvoctrainDoc * m_doc;
+};
+
+#endif
+