KTextEditor
rangefeedback.cpp
Go to the documentation of this file.
00001 /* This file is part of the KDE libraries 00002 * Copyright (C) 2003-2005 Hamish Rodda <rodda@kde.org> 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Library General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2 of the License, or (at your option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Library General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Library General Public License 00015 * along with this library; see the file COPYING.LIB. If not, write to 00016 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00017 * Boston, MA 02110-1301, USA.*/ 00018 00019 00020 #include "rangefeedback.h" 00021 00022 using namespace KTextEditor; 00023 00024 SmartRangeWatcher::~ SmartRangeWatcher( ) 00025 { 00026 } 00027 00028 SmartRangeNotifier::SmartRangeNotifier( ) 00029 : m_wantDirectChanges(true) 00030 { 00031 } 00032 00033 bool SmartRangeNotifier::wantsDirectChanges( ) const 00034 { 00035 return m_wantDirectChanges; 00036 } 00037 00038 void SmartRangeNotifier::setWantsDirectChanges( bool wantsDirectChanges ) 00039 { 00040 m_wantDirectChanges = wantsDirectChanges; 00041 } 00042 00043 SmartRangeWatcher::SmartRangeWatcher( ) 00044 : m_wantDirectChanges(true) 00045 { 00046 } 00047 00048 bool SmartRangeWatcher::wantsDirectChanges( ) const 00049 { 00050 return m_wantDirectChanges; 00051 } 00052 00053 void SmartRangeWatcher::setWantsDirectChanges( bool wantsDirectChanges ) 00054 { 00055 m_wantDirectChanges = wantsDirectChanges; 00056 } 00057 00058 void SmartRangeWatcher::rangePositionChanged( SmartRange* ) 00059 { 00060 } 00061 00062 void SmartRangeWatcher::rangeContentsChanged( SmartRange* ) 00063 { 00064 } 00065 00066 void SmartRangeWatcher::rangeContentsChanged( SmartRange*, SmartRange* ) 00067 { 00068 } 00069 00070 void SmartRangeWatcher::mouseEnteredRange( SmartRange*, View* ) 00071 { 00072 } 00073 00074 void SmartRangeWatcher::mouseExitedRange( SmartRange*, View* ) 00075 { 00076 } 00077 00078 void SmartRangeWatcher::caretEnteredRange( SmartRange*, View* ) 00079 { 00080 } 00081 00082 void SmartRangeWatcher::caretExitedRange( SmartRange*, View* ) 00083 { 00084 } 00085 00086 void SmartRangeWatcher::rangeEliminated( SmartRange* ) 00087 { 00088 } 00089 00090 void SmartRangeWatcher::rangeDeleted( SmartRange* ) 00091 { 00092 } 00093 00094 void SmartRangeWatcher::childRangeInserted( SmartRange*, SmartRange* ) 00095 { 00096 } 00097 00098 void SmartRangeWatcher::childRangeRemoved( SmartRange*, SmartRange* ) 00099 { 00100 } 00101 00102 void SmartRangeWatcher::rangeAttributeChanged( SmartRange*, Attribute::Ptr, Attribute::Ptr ) 00103 { 00104 } 00105 00106 void SmartRangeWatcher::parentRangeChanged( SmartRange *, SmartRange *, SmartRange * ) 00107 { 00108 } 00109 00110 #include "smartrangenotifier.moc" 00111 00112 // kate: space-indent on; indent-width 2; replace-tabs on;
KDE 4.6 API Reference