summaryrefslogtreecommitdiff
path: root/client/builder.cc
diff options
context:
space:
mode:
authordeva <deva>2008-05-29 12:30:47 +0000
committerdeva <deva>2008-05-29 12:30:47 +0000
commitb76db8a6385f3eb2a5f91367789e857fb7fe86ae (patch)
tree41bf44b02dff3fea3a40c79156a86b10a987cc1b /client/builder.cc
parent4915b8edd50bf95735e94bb58a238aa02a29fe5c (diff)
Cleaned up the new_macro functions. Did some GPL header correction.
Diffstat (limited to 'client/builder.cc')
-rw-r--r--client/builder.cc42
1 files changed, 28 insertions, 14 deletions
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 <QVBoxLayout>
#include <QMessageBox>
@@ -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",