summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/agenda/CGTopic.py
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/com/sun/star/wizards/agenda/CGTopic.py')
-rw-r--r--wizards/com/sun/star/wizards/agenda/CGTopic.py45
1 files changed, 0 insertions, 45 deletions
diff --git a/wizards/com/sun/star/wizards/agenda/CGTopic.py b/wizards/com/sun/star/wizards/agenda/CGTopic.py
deleted file mode 100644
index ae6fb5125533..000000000000
--- a/wizards/com/sun/star/wizards/agenda/CGTopic.py
+++ /dev/null
@@ -1,45 +0,0 @@
-from common.ConfigGroup import *
-
-'''
-CGTopic means: Configuration Group Topic.
-This object encapsulates a configuration group with topic information.
-Since the topics gui conftrol uses its own data model, there is
-also code here to convert from the data model to CGTopic object (the constructor)
-and vice versa (setDataToRow method - used when loading the last session...)
-'''
-
-class CGTopic(ConfigGroup):
-
- cp_Index = int()
- cp_Topic = str()
- cp_Responsible = str()
- cp_Time = str()
-
- '''
- create a new CGTopic object with data from the given row.
- the row object is a PropertyValue array, as used
- by the TopicsControl's data model.
- @param row PropertyValue array as used by the TopicsControl data model.
- '''
-
- def __init__(self, row=None):
- if row is None:
- return
- num = row[0].Value
- CGTopic.cp_Index = int(row[0].Value[:-1])
- CGTopic.cp_Topic = row[1].Value
- CGTopic.cp_Responsible = row[2].Value
- CGTopic.cp_Time = row[3].Value
-
- '''
- copies the data in this CGTopic object
- to the given row.
- @param row the row object (PropertyValue array) to
- copy the data to.
- '''
-
- def setDataToRow(self, row):
- row[0].Value = "" + str(CGTopic.cp_Index) + "."
- row[1].Value = CGTopic.cp_Topic
- row[2].Value = CGTopic.cp_Responsible
- row[3].Value = CGTopic.cp_Time