summaryrefslogtreecommitdiffstats
path: root/interfaces/ktexteditor/variableinterface.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:17:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:17:21 -0600
commitdfe289850f068f19ba4a83ab4e7e22a7e09c13c9 (patch)
treec297348a55df66c571de4525646e0b9762427353 /interfaces/ktexteditor/variableinterface.h
parentb7658a0d5eca24a9d37c6e04f88298ef02389db0 (diff)
downloadtdelibs-dfe289850f068f19ba4a83ab4e7e22a7e09c13c9.tar.gz
tdelibs-dfe289850f068f19ba4a83ab4e7e22a7e09c13c9.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'interfaces/ktexteditor/variableinterface.h')
-rw-r--r--interfaces/ktexteditor/variableinterface.h72
1 files changed, 0 insertions, 72 deletions
diff --git a/interfaces/ktexteditor/variableinterface.h b/interfaces/ktexteditor/variableinterface.h
deleted file mode 100644
index 31310a43c..000000000
--- a/interfaces/ktexteditor/variableinterface.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License version 2 as published by the Free Software Foundation.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-
- ---
- Copyright (C) 2004, Anders Lund <anders@alweb.dk>
-*/
-#ifndef _KTEXTEDITOR_VARIABLE_INTERFACE_H_
-#define _KTEXTEDITOR_VARIABLE_INTERFACE_H_
-
-#include <tdelibs_export.h>
-
-class TQString;
-
-namespace KTextEditor {
-
-/**
- * This interface is designed to provide access to "document variables",
- * for example variables defined in files like "kate: variable value;"
- * or the emacs style "-*- variable: value -*-".
- *
- * The purpose is to allow KTE plugins to use variables.
- * A document implementing this interface should return values for variable
- * that it does not otherwise know how to use, since they could be of interrest
- * to plugins. A document implementing this interface must emit the variableChanged()
- * signal whenever a variable is set that it will return a value for.
- *
- * @short KTextEditor interface to Document Variables
- */
-class KTEXTEDITOR_EXPORT VariableInterface
-{
- public:
- VariableInterface();
- virtual ~VariableInterface();
-
- unsigned int variableInterfaceNumber();
-
- /**
- * @return the value of the variable @p name, or an empty string if the
- * variable is not set or has no value.
- */
- virtual TQString variable( const TQString &name ) const = 0;
-
- //
- // signals!!
- //
- public:
- /**
- * Signal: emitted when a variable is set
- */
- virtual void variableChanged( const TQString &variable, const TQString &value ) = 0;
-
- private:
- static unsigned int globalVariableInterfaceNumber;
- unsigned int myVariableInterfaceNumber;
-};
-
-
-KTEXTEDITOR_EXPORT VariableInterface *variableInterface( class Document * );
-} // namespace KTextEditor
-#endif //_KTEXTEDITOR_VARIABLE_INTERFACE_H_