From b76db8a6385f3eb2a5f91367789e857fb7fe86ae Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 29 May 2008 12:30:47 +0000 Subject: Cleaned up the new_macro functions. Did some GPL header correction. --- client/builder.cc | 42 ++++++++++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 14 deletions(-) (limited to 'client/builder.cc') diff --git a/client/builder.cc b/client/builder.cc index f8addeb..bdbb85b 100644 --- a/client/builder.cc +++ b/client/builder.cc @@ -1,18 +1,32 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/*************************************************************************** + * builder.cc + * + * Fri Aug 31 12:27:45 CEST 2007 + * Copyright 2007 Lars Bisballe Jensen and Bent Bisballe Nyeng + * elsenator@gmail.com and deva@aasimon.org + ****************************************************************************/ + +/* + * This file is part of Pracro. + * + * Pracro 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 2 of the License, or + * (at your option) any later version. + * + * Pracro 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 Pracro; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + */ #include "builder.h" #include "sendrecieve.h" -#include "widgets/widget.h" -#include "widgets/label.h" -#include "widgets/lineedit.h" -#include "widgets/textedit.h" -#include "widgets/pushbutton.h" -#include "widgets/combobox.h" -#include "widgets/listbox.h" -#include "widgets/frame.h" -#include "widgets/groupbox.h" -#include "widgets/radiobuttons.h" -#include "widgets/radiobutton.h" -#include "widgets/checkbox.h" -#include "widgets/window.h" +#include "widgets.h" #include "macro.h" #include #include @@ -218,7 +232,7 @@ void Builder::cont(QString name) i++; } if(doCommit()) { - new_macro(macro); + new_macro("FIXME", macro); mainwidget->close(); } else { QMessageBox::critical(NULL, "Fejl", -- cgit v1.2.3