All pastes #298282 Raw Edit

Unnamed

public cpp v1 · immutable
#298282 ·published 2006-12-31 19:58 UTC
rendered paste body
/*************************************************************************** *   Copyright (C) 2006 by willie   * *   willie@localhost   * *                                                                         * *   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 2 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, write to the                         * *   Free Software Foundation, Inc.,                                       * *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             * ***************************************************************************/#include "sigcreate.h"#include <qlineedit.h>#include <qstring.h>#include <qcombobox.h>#include <qmultilineedit.h>#include <string>#include <iostream>using namespace std;SigCreate::SigCreate(QWidget* parent, const char* name, WFlags fl)    : SigCreateDlg(parent,name,fl){}SigCreate::~SigCreate(){}/*$SPECIALIZATION$*/void SigCreate::slotCreateSig(){/*        sigBox->append("\n--");        sigBox->append(nameBox->text());        sigBox->append(mailBox->text());        sigBox->append(commBox->currentText());*/}void SigCreate::AddPreset(){	string str1, str2;	Qstring str3;	str1 = "blaat"; 	str3 = Host->text();        ResultBox->append(str1);// 	str1 = Host->text();//         ResultBox->append(Host->text());//         ResultBox->append(Rdir->text());//         ResultBox->append(Ldir->text());//         ResultBox->append(UserName->text());//         ResultBox->append(Password->text());}#include "sigcreate.moc"cd '/home/willie/Projects/sigcreate/debug' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -k gmake all-recursivegmake[1]: Entering directory `/home/willie/Projects/sigcreate/debug'Making all in docgmake[2]: Entering directory `/home/willie/Projects/sigcreate/debug/doc'Making all in .gmake[3]: Entering directory `/home/willie/Projects/sigcreate/debug/doc'gmake[3]: Nothing to be done for `all-am'.gmake[3]: Leaving directory `/home/willie/Projects/sigcreate/debug/doc'Making all in engmake[3]: Entering directory `/home/willie/Projects/sigcreate/debug/doc/en'gmake[3]: Nothing to be done for `all'.gmake[3]: Leaving directory `/home/willie/Projects/sigcreate/debug/doc/en'gmake[2]: Leaving directory `/home/willie/Projects/sigcreate/debug/doc'Making all in pogmake[2]: Entering directory `/home/willie/Projects/sigcreate/debug/po'gmake[2]: Nothing to be done for `all'.gmake[2]: Leaving directory `/home/willie/Projects/sigcreate/debug/po'Making all in srcgmake[2]: Entering directory `/home/willie/Projects/sigcreate/debug/src'if g++ -DHAVE_CONFIG_H -I. -I/home/willie/Projects/sigcreate/src -I.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -O0 -g3 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT sigcreate.o -MD -MP -MF ".deps/sigcreate.Tpo" -c -o sigcreate.o /home/willie/Projects/sigcreate/src/sigcreate.cpp; then mv -f ".deps/sigcreate.Tpo" ".deps/sigcreate.Po"; else rm -f ".deps/sigcreate.Tpo"; exit 1; fi/home/willie/Projects/sigcreate/src/sigcreate.cpp: In member function `virtual void SigCreate::AddPreset()':/home/willie/Projects/sigcreate/src/sigcreate.cpp:51: error: `Qstring' was not declared in this scope/home/willie/Projects/sigcreate/src/sigcreate.cpp:51: error: expected `;' before "str3"/home/willie/Projects/sigcreate/src/sigcreate.cpp:51: warning: unused variable 'Qstring'gmake[2]: *** [sigcreate.o] Error 1gmake[2]: Target `all' not remade because of errors.gmake[2]: Leaving directory `/home/willie/Projects/sigcreate/debug/src'gmake[2]: Entering directory `/home/willie/Projects/sigcreate/debug'gmake[2]: Leaving directory `/home/willie/Projects/sigcreate/debug'gmake[1]: *** [all-recursive] Error 1gmake[1]: Leaving directory `/home/willie/Projects/sigcreate/debug'gmake: *** [all] Error 2*** Exited with status: 2 ***