diff options
Diffstat (limited to 'interfaces/ktexteditor/codecompletioninterface.cpp')
-rw-r--r-- | interfaces/ktexteditor/codecompletioninterface.cpp | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/interfaces/ktexteditor/codecompletioninterface.cpp b/interfaces/ktexteditor/codecompletioninterface.cpp deleted file mode 100644 index 416dd593a..000000000 --- a/interfaces/ktexteditor/codecompletioninterface.cpp +++ /dev/null @@ -1,51 +0,0 @@ - -#include "codecompletioninterface.h" -#include "view.h" - -using namespace KTextEditor; - -namespace KTextEditor -{ - class PrivateCodeCompletionInterface - { - public: - PrivateCodeCompletionInterface() {} - ~PrivateCodeCompletionInterface(){} - - }; -} - -unsigned int CodeCompletionInterface::globalCodeCompletionInterfaceNumber = 0; - -CodeCompletionInterface::CodeCompletionInterface() -{ - globalCodeCompletionInterfaceNumber++; - myCodeCompletionInterfaceNumber = globalCodeCompletionInterfaceNumber++; - - d = new PrivateCodeCompletionInterface(); -} - -CodeCompletionInterface::~CodeCompletionInterface() -{ - delete d; -} - -unsigned int CodeCompletionInterface::codeCompletionInterfaceNumber () const -{ - return myCodeCompletionInterfaceNumber; -} - -void CodeCompletionInterface::setCodeCompletionInterfaceDCOPSuffix (const TQCString &/*suffix*/) -{ - //d->interface->setObjId ("CodeCompletionInterface#"+suffix); -} - -CodeCompletionInterface *KTextEditor::codeCompletionInterface (View *view) -{ - if (!view) - return 0; - - return dynamic_cast<KTextEditor::CodeCompletionInterface*>(view); -} - - |