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

kdevplatform/interfaces

  • sources
  • kfour-appscomplete
  • kdevelop
  • kdevplatform
  • interfaces
launchconfigurationpage.h
Go to the documentation of this file.
1 /* This file is part of KDevelop
2  Copyright 2009 Andreas Pakulat <[email protected]>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License, or (at your option) any later version.
8 
9  This library is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Library General Public License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef KDEVPLATFORM_LAUNCHCONFIGURATIONPAGE_H
21 #define KDEVPLATFORM_LAUNCHCONFIGURATIONPAGE_H
22 
23 #include "interfacesexport.h"
24 
25 #include <QWidget>
26 
27 class KConfigGroup;
28 
29 namespace KDevelop
30 {
31 
32 class IProject;
33 
38 class KDEVPLATFORMINTERFACES_EXPORT LaunchConfigurationPage : public QWidget
39 {
40 Q_OBJECT
41 public:
42  explicit LaunchConfigurationPage( QWidget* parent );
47  virtual void loadFromConfiguration( const KConfigGroup& cfg, KDevelop::IProject* project = nullptr ) = 0;
48 
53  virtual void saveToConfiguration( KConfigGroup cfg, KDevelop::IProject* project = nullptr ) const = 0;
54 
59  virtual QString title() const = 0;
60 
65  virtual QIcon icon() const = 0;
66 Q_SIGNALS:
67  void changed();
68 };
69 
74 class KDEVPLATFORMINTERFACES_EXPORT LaunchConfigurationPageFactory
75 {
76 public:
77  virtual ~LaunchConfigurationPageFactory() {}
83  virtual LaunchConfigurationPage* createWidget( QWidget* parent ) = 0;
84 };
85 
86 }
87 
88 #endif
89 
KDevelop::IProject
Object which represents a KDevelop project.
Definition: iproject.h:59
QWidget
KDevelop::LaunchConfigurationPageFactory
A simple factory class to create certain launch config pages this is used to create config pages only...
Definition: launchconfigurationpage.h:74
QString
QIcon
KDevelop::LaunchConfigurationPage
Provides a configuration page for a launch configuration, the interface allows the actual dialog to e...
Definition: launchconfigurationpage.h:38
KDevelop::LaunchConfigurationPageFactory::~LaunchConfigurationPageFactory
virtual ~LaunchConfigurationPageFactory()
Definition: launchconfigurationpage.h:77
KDevelop
The KDevelop namespace contains all classes provided by the KDevelop platform libraries.
Definition: configpage.cpp:26
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 23:36:08 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kdevplatform/interfaces

Skip menu "kdevplatform/interfaces"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdevelop API Reference

Skip menu "kdevelop API Reference"
  • kdevplatform
  •   debugger
  •   documentation
  •   interfaces
  •   language
  •     assistant
  •     backgroundparser
  •     checks
  •     classmodel
  •     codecompletion
  •     codegen
  •     duchain
  •     editor
  •     highlighting
  •     interfaces
  •     util
  •   outputview
  •   project
  •   serialization
  •   shell
  •   sublime
  •   tests
  •   util
  •   vcs

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