summaryrefslogtreecommitdiffstats
path: root/khexedit/lib/kbufferranges.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 13:18:51 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 13:18:51 -0600
commit5d54d9b2688c958818ab4d016db6ce20ec3422c5 (patch)
treebe45c628f95d97e7196c76638a02948c9ea227ac /khexedit/lib/kbufferranges.h
parent4bb787f41f7cdefac2aac33ef59317b7157302c1 (diff)
downloadtdeutils-5d54d9b2688c958818ab4d016db6ce20ec3422c5.tar.gz
tdeutils-5d54d9b2688c958818ab4d016db6ce20ec3422c5.zip
Rename KServer, KSocket, KIO_EXPORT, KIOInput, KIOJob, KIOConfig, KIOBuffer, and KBuffer to avoid conflicts with KDE4
Diffstat (limited to 'khexedit/lib/kbufferranges.h')
-rw-r--r--khexedit/lib/kbufferranges.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/khexedit/lib/kbufferranges.h b/khexedit/lib/kbufferranges.h
index ed2cbce..8a215ed 100644
--- a/khexedit/lib/kbufferranges.h
+++ b/khexedit/lib/kbufferranges.h
@@ -32,11 +32,11 @@ namespace KHE
*
* @author Friedrich W. H. Kossebau
*/
-class KBufferRanges
+class TDEBufferRanges
{
public:
- KBufferRanges( KBufferLayout *L );
- ~KBufferRanges();
+ TDEBufferRanges( TDEBufferLayout *L );
+ ~TDEBufferRanges();
public: // modifcation access
void setMarking( KSection M );
@@ -102,28 +102,28 @@ class KBufferRanges
KCoordRangeList ChangedRanges;
- KBufferLayout *Layout;
+ TDEBufferLayout *Layout;
};
-inline int KBufferRanges::noOfSelections() const { return 1; }
+inline int TDEBufferRanges::noOfSelections() const { return 1; }
-inline int KBufferRanges::selectionStart() const { return Selection.start(); }
-inline int KBufferRanges::selectionEnd() const { return Selection.end(); }
-inline KSection KBufferRanges::selection() const { return Selection; }
-inline KSection KBufferRanges::firstWordSelection() const { return FirstWordSelection; }
-inline int KBufferRanges::selectionLength() const { return Selection.width(); }
-inline bool KBufferRanges::isModified() const { return Modified; }
+inline int TDEBufferRanges::selectionStart() const { return Selection.start(); }
+inline int TDEBufferRanges::selectionEnd() const { return Selection.end(); }
+inline KSection TDEBufferRanges::selection() const { return Selection; }
+inline KSection TDEBufferRanges::firstWordSelection() const { return FirstWordSelection; }
+inline int TDEBufferRanges::selectionLength() const { return Selection.width(); }
+inline bool TDEBufferRanges::isModified() const { return Modified; }
-inline bool KBufferRanges::hasSelection() const { return Selection.isValid(); }
-inline bool KBufferRanges::selectionStarted() const { return Selection.started(); }
-inline bool KBufferRanges::selectionJustStarted() const { return Selection.justStarted(); }
-inline bool KBufferRanges::hasFirstWordSelection() const { return FirstWordSelection.isValid(); }
-inline bool KBufferRanges::hasMarking() const { return Marking.isValid(); }
-inline bool KBufferRanges::selectionIncludes( int Index ) const { return Selection.includes( Index ); }
-inline bool KBufferRanges::markingIncludes( int Index ) const { return Marking.includes( Index ); }
+inline bool TDEBufferRanges::hasSelection() const { return Selection.isValid(); }
+inline bool TDEBufferRanges::selectionStarted() const { return Selection.started(); }
+inline bool TDEBufferRanges::selectionJustStarted() const { return Selection.justStarted(); }
+inline bool TDEBufferRanges::hasFirstWordSelection() const { return FirstWordSelection.isValid(); }
+inline bool TDEBufferRanges::hasMarking() const { return Marking.isValid(); }
+inline bool TDEBufferRanges::selectionIncludes( int Index ) const { return Selection.includes( Index ); }
+inline bool TDEBufferRanges::markingIncludes( int Index ) const { return Marking.includes( Index ); }
-inline void KBufferRanges::setModified( bool M ) { Modified = M; }
+inline void TDEBufferRanges::setModified( bool M ) { Modified = M; }
}