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

KTextEditor

variableinterface.h

Go to the documentation of this file.
00001 /*
00002    This library is free software; you can redistribute it and/or
00003    modify it under the terms of the GNU Library General Public
00004    License as published by the Free Software Foundation; either
00005    version 2 of the License, or (at your option) any later version.
00006 
00007    This library is distributed in the hope that it will be useful,
00008    but WITHOUT ANY WARRANTY; without even the implied warranty of
00009    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00010    Library General Public License for more details.
00011 
00012    You should have received a copy of the GNU Library General Public License
00013    along with this library; see the file COPYING.LIB.  If not, write to
00014    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00015    Boston, MA 02110-1301, USA.
00016 
00017 ---
00018     Copyright (C) 2004, Anders Lund <anders@alweb.dk>
00019     Copyright (C) 2005 Dominik Haumann (dhdev@gmx.de) (documentation)
00020 */
00021 #ifndef _KTEXTEDITOR_VARIABLE_INTERFACE_H_
00022 #define _KTEXTEDITOR_VARIABLE_INTERFACE_H_
00023 
00024 #include <ktexteditor/ktexteditor_export.h>
00025 
00026 
00027 #include <QtCore/QObject>
00028 
00029 class QString;
00030 
00031 namespace KTextEditor {
00032 
00033 class Document;
00034 
00077 class KTEXTEDITOR_EXPORT VariableInterface
00078 {
00079   public:
00080     VariableInterface();
00081 
00085     virtual ~VariableInterface();
00086 
00092     virtual QString variable( const QString &name ) const = 0;
00093 
00094   //
00095   // signals!!
00096   //
00097   public:
00106     virtual void variableChanged( Document* document, const QString &variable, const QString &value ) = 0;
00107 
00108   private:
00109     class VariableInterfacePrivate* const d;
00110 };
00111 
00112 
00113 } // namespace KTextEditor
00114 
00115 Q_DECLARE_INTERFACE(KTextEditor::VariableInterface, "org.kde.KTextEditor.VariableInterface")
00116 
00117 #endif
00118 
00119 // kate: space-indent on; indent-width 2; replace-tabs on;

KTextEditor

Skip menu "KTextEditor"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal