Back to index

fet  5.18.0
lockunlock.h
Go to the documentation of this file.
00001 /*
00002 File lockunlock.h
00003 */
00004 
00005 /***************************************************************************
00006                                 FET
00007                           -------------------
00008    copyright            : (C) by Lalescu Liviu
00009     email                : Please see http://lalescu.ro/liviu/ for details about contacting Liviu Lalescu (in particular, you can find here the e-mail address)
00010  ***************************************************************************
00011                           lockunlock.h  -  description
00012                              -------------------
00013     begin                : Dec 2008
00014     copyright            : (C) by Liviu Lalescu (http://lalescu.ro/liviu/) and Volker Dirr (http://www.timetabling.de/)
00015  ***************************************************************************
00016  *                                                                         *
00017  *   FET program is free software; you can redistribute it and/or modify  *
00018  *   it under the terms of the GNU General Public License as published by  *
00019  *   the Free Software Foundation; either version 2 of the License, or     *
00020  *   (at your option) any later version.                                   *
00021  *                                                                         *
00022  ***************************************************************************/
00023 
00024 #ifndef LOCKUNLOCK_H
00025 #define LOCKUNLOCK_H
00026 
00027 #include <QObject>
00028 
00029 class CommunicationSpinBox: public QObject{
00030        Q_OBJECT
00031 
00032 private:
00033        int value;
00034        int maxValue;
00035        int minValue;
00036        
00037 public:
00038        CommunicationSpinBox();
00039        ~CommunicationSpinBox();
00040        
00041 signals:
00042        int valueChanged(int newValue);
00043        
00044 public slots:
00045        void increaseValue();
00046 };
00047 
00048 
00049 class LockUnlock{
00050 public:
00051        static void computeLockedUnlockedActivitiesTimeSpace();
00052        static void computeLockedUnlockedActivitiesOnlyTime();
00053        static void computeLockedUnlockedActivitiesOnlySpace();
00054        
00055        static void increaseCommunicationSpinBox();
00056 };
00057 
00058 #endif