diff options
Diffstat (limited to 'ksirc/kstextview.h')
-rw-r--r-- | ksirc/kstextview.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ksirc/kstextview.h b/ksirc/kstextview.h index 6b3813a8..4499f370 100644 --- a/ksirc/kstextview.h +++ b/ksirc/kstextview.h @@ -142,8 +142,8 @@ class SelectionPoint; class Item { public: - enum LayoutResettqStatus { DeleteItem, KeepItem }; - enum SelectiontqStatus { SelectionStart = 0, InSelection, SelectionEnd, SelectionBoth, + enum LayoutResetStatus { DeleteItem, KeepItem }; + enum SelectionStatus { SelectionStart = 0, InSelection, SelectionEnd, SelectionBoth, NoSelection }; enum SelectionAccuracy { SelectExact, SelectFuzzy }; @@ -163,13 +163,13 @@ public: virtual Item *breakLine( int width ); - virtual LayoutResettqStatus resetLayout() = 0; + virtual LayoutResetStatus resetLayout() = 0; virtual int calcSelectionOffset( int x ); - void setSelectiontqStatus( SelectiontqStatus status ) { m_selection = status; } + void setSelectionStatus( SelectionStatus status ) { m_selection = status; } - SelectiontqStatus selectiontqStatus() const { return m_selection; } + SelectionStatus selectionStatus() const { return m_selection; } void selectionOffsets( int &startOffset, int &endOffset ); @@ -194,7 +194,7 @@ protected: virtual void calcExtends() const = 0; - SelectiontqStatus m_selection; + SelectionStatus m_selection; TextLine *m_line; TextParag *m_parag; ItemProperties m_props; @@ -211,7 +211,7 @@ public: virtual Item *breakLine( int width ); - virtual LayoutResettqStatus resetLayout(); + virtual LayoutResetStatus resetLayout(); virtual int calcSelectionOffset( int x ); @@ -247,7 +247,7 @@ public: virtual void paint( TQPainter &painter ); - virtual LayoutResettqStatus resetLayout(); + virtual LayoutResetStatus resetLayout(); protected: virtual void calcExtends() const; |