• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

kapptemplate

  • sources
  • kde-4.14
  • kdesdk
  • kapptemplate
generatepage.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright 2001 Bernd Gehrmann <bernd@kdevelop.org> *
3  * Copyright 2004-2005 Sascha Cunz <sascha@kdevelop.org> *
4  * Copyright 2007 Alexander Dymo <adymo@kdevelop.org> *
5  * Copyright 2008 Anne-Marie Mahfouf <annma@kde.org> *
6  * *
7  * This program is free software; you can redistribute it and/or modify *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation; either version 2 of the License, or *
10  * (at your option) any later version. *
11  * *
12  * This program is distributed in the hope that it will be useful, *
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
15  * GNU General Public License for more details. *
16  * *
17  * You should have received a copy of the GNU General Public License *
18  * along with this program; if not, write to the *
19  * Free Software Foundation, Inc., *
20  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
21  ***************************************************************************/
22 
23 #ifndef GENERATEPAGE_H
24 #define GENERATEPAGE_H
25 
26 #include <QHash>
27 #include <QWizardPage>
28 
29 #include <karchive.h>
30 
31 #include "kapptemplate.h"
32 #include "ui_generate.h"
33 
34 class GeneratePage : public QWizardPage
35 {
36  Q_OBJECT
37 
38  public:
39  GeneratePage(QWidget *parent = 0);
40 
41  private:
42  Ui::generate ui_generate;
43  QHash<QString, QString> m_variables;
44  bool copyFile(const QString &source, const QString &dest);
45  bool unpackArchive(const KArchiveDirectory *dir, const QString &dest);
46 
47  void initializePage();
48 
49  QString templateName;
50  QString feedback;
51 };
52 
53 #endif // _GENERATEPAGE_H_
QWidget
GeneratePage::GeneratePage
GeneratePage(QWidget *parent=0)
Definition: generatepage.cpp:43
GeneratePage
Definition: generatepage.h:34
kapptemplate.h
QHash< QString, QString >
QString
QObject::parent
QObject * parent() const
QWizardPage
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:39:44 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kapptemplate

Skip menu "kapptemplate"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal