tirilane
/
egon
Archived
1
0
Fork 0
This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
egon/assignmentModel.py

67 lines
1.3 KiB
Python
Raw Normal View History

2008-05-29 10:15:21 +02:00
#!/usr/bin/env python
#coding: utf-8
import os
import platform
import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from assignment import *
from reading import *
from schedule import *
from calendar import *
from scheduleDlg import *
class AssignmentModel():
date = ""
course = ""
description = ""
available = False
begun = False
finished = False
delivered = False
def setDate(self, date):
self.date = date
def getDate(self):
return self.date
def setCourse(self, course):
self.course = course
def getCourse(self):
return self.course
def setDescription(self, description):
self.description = description
def getDescription(self):
return self.description
def setAvailable(self, available):
self.available = available
def getAvailable(self):
return self.available
def setBegun(self, begun):
self.begun = begun
def getBegun(self):
return self.begun
def setFinished(self, finished):
self.finished = finished
def getFinished(self):
return self.finished
def setDelivered(self, delivered):
self.delivered = delivered
def getDelivered(self):
return self.delivered