• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • 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 version 2 as published by the Free Software Foundation.
00005 
00006     This library is distributed in the hope that it will be useful,
00007     but WITHOUT ANY WARRANTY; without even the implied warranty of
00008     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00009     Library General Public License for more details.
00010 
00011     You should have received a copy of the GNU Library General Public License
00012     along with this library; see the file COPYING.LIB.  If not, write to
00013     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00014     Boston, MA 02110-1301, USA.
00015 
00016     ---
00017     Copyright (C) 2004, Anders Lund <anders@alweb.dk>
00018     Copyright (C) 2005 Dominik Haumann (dhdev@gmx.de) (documentation)
00019 */
00020 #ifndef _KTEXTEDITOR_VARIABLE_INTERFACE_H_
00021 #define _KTEXTEDITOR_VARIABLE_INTERFACE_H_
00022 
00023 #include <ktexteditor/ktexteditor_export.h>
00024 
00025 
00026 #include <QtCore/QObject>
00027 
00028 class QString;
00029 
00030 namespace KTextEditor {
00031 
00032 class Document;
00033 
00076 class KTEXTEDITOR_EXPORT VariableInterface
00077 {
00078   public:
00079     VariableInterface();
00080 
00084     virtual ~VariableInterface();
00085 
00091     virtual QString variable( const QString &name ) const = 0;
00092 
00093   //
00094   // signals!!
00095   //
00096   public:
00105     virtual void variableChanged( Document* document, const QString &variable, const QString &value ) = 0;
00106 
00107   private:
00108     class VariableInterfacePrivate* const d;
00109 };
00110 
00111 
00112 } // namespace KTextEditor
00113 
00114 Q_DECLARE_INTERFACE(KTextEditor::VariableInterface, "org.kde.KTextEditor.VariableInterface")
00115 
00116 #endif
00117 
00118 // 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
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
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