[Lprof-devel] lprof/src/moncalcontrolqt custompage.h,NONE,1.1.2.1
Brought to you by:
hvengel
From: Amit K. <ami...@us...> - 2009-07-05 19:26:11
|
Update of /cvsroot/lprof/lprof/src/moncalcontrolqt In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv3074 Added Files: Tag: GSoC-2009 custompage.h Log Message: I have added a new header custompage.h --- NEW FILE: custompage.h --- // $Id: custompage.h,v 1.1.2.1 2009/07/05 19:26:08 amitk203 Exp $ // Little cms Profiler // Copyright (C) 2007 Hal Engel // // THIS SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, // EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY // WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. // // IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, // INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, // OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, // WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF // LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE // OF THIS SOFTWARE. // // 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 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. // // Version 1.11 #ifndef CUSTOMPAGE_H #define CUSTOMPAGE_H #include <QWizard> #include <QWizardPage> #include <QWidget> class customPage : public QWizardPage { private: bool filled; public: customPage(QWidget *parent=0):QWizardPage(parent) { filled=false; } bool isComplete(void) const { return filled; } void pageCompleted(bool x) { filled=x; emit completeChanged(); } }; #endif |