• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop Generic Shell
 

KDevelop Generic Shell

  • src
shellextension.h
1/***************************************************************************
2 * Copyright (C) 2004 by Alexander Dymo *
3 * adymo@kdevelop.org *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the *
17 * Free Software Foundation, Inc., *
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
19 ***************************************************************************/
20#ifndef SHELLEXTENSION_H
21#define SHELLEXTENSION_H
22
23#include <tqstring.h>
24
25class KDialogBase;
26
32class ShellExtension {
33public:
42 static ShellExtension *getInstance() { return s_instance; }
43
45 virtual void createGlobalSettingsPage(KDialogBase *dlg) = 0;
48 virtual void acceptGlobalSettingsPage(KDialogBase *dlg) = 0;
49
51 virtual TQString xmlFile() = 0;
52
55 virtual TQString defaultProfile() = 0;
56
57protected:
58 ShellExtension();
59 static ShellExtension *s_instance;
60};
61
62#endif
ShellExtension::getInstance
static ShellExtension * getInstance()
Returns an instance of a shell.
Definition shellextension.h:42
ShellExtension::xmlFile
virtual TQString xmlFile()=0
Reimplement to return the name of KXMLGUI resource file for an application.
ShellExtension::createGlobalSettingsPage
virtual void createGlobalSettingsPage(KDialogBase *dlg)=0
Reimplement to create global settings page in the dialog dlg.
ShellExtension::defaultProfile
virtual TQString defaultProfile()=0
Reimplement to set a default profile for the shell.
ShellExtension::acceptGlobalSettingsPage
virtual void acceptGlobalSettingsPage(KDialogBase *dlg)=0
Reimplement to perform actions when the global settings page in the dialog dlg is accepted (user clic...

KDevelop Generic Shell

Skip menu "KDevelop Generic Shell"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDevelop Generic Shell

Skip menu "KDevelop Generic Shell"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for KDevelop Generic Shell by doxygen 1.15.0
This website is maintained by Timothy Pearson.