HyperspaceExplorer 0.7.1
|
00001 /* 00002 Hyperspace Explorer - visualizing higher-dimensional geometry 00003 Copyright (C) 2010 Lene Preuss <lene.preuss@gmail.com> 00004 00005 This program is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation; either version 2 of the License, or 00008 (at your option) any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License along 00016 with this program; if not, write to the Free Software Foundation, Inc., 00017 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00018 00019 */ 00020 00022 00023 #include <QObject> 00024 00025 #include "4DView.h" 00026 00027 #include "FunctionFactory.h" 00028 00030 00047 class SlotHelper: public QObject { 00048 00049 Q_OBJECT 00050 00051 public: 00052 00053 SlotHelper(C4DView *view, const std::string &displayable_name): 00054 view_(view), displayable_name_(displayable_name) {} 00055 virtual ~SlotHelper() { } 00056 00057 public slots: 00058 00059 void slot(); 00060 00061 private: 00063 C4DView* view_; 00065 std::string displayable_name_; 00066 };