summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoAutoFormat.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoAutoFormat.h')
-rw-r--r--lib/kotext/KoAutoFormat.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/kotext/KoAutoFormat.h b/lib/kotext/KoAutoFormat.h
index 4f59fbaa..8f4199a2 100644
--- a/lib/kotext/KoAutoFormat.h
+++ b/lib/kotext/KoAutoFormat.h
@@ -72,11 +72,11 @@ class KoAutoFormatEntry
{
public:
// The text to find is actually the key in KWAutoFormat's map.
- // What we replace it with is tqreplace().
- KoAutoFormatEntry(const TQString& tqreplace = TQString());
+ // What we replace it with is replace().
+ KoAutoFormatEntry(const TQString& replace = TQString());
~KoAutoFormatEntry();
- TQString tqreplace() const { return m_tqreplace; }
- void changeReplace(const TQString & rep){ m_tqreplace = rep; }
+ TQString replace() const { return m_replace; }
+ void changeReplace(const TQString & rep){ m_replace = rep; }
KoSearchContext *formatEntryContext()const;
void createNewEntryContext();
@@ -84,7 +84,7 @@ public:
void clearFormatEntryContext( );
protected:
- TQString m_tqreplace;
+ TQString m_replace;
// For formatting in the replacement - not implemented yet
KoSearchContext *m_formatOptions;
};
@@ -145,7 +145,7 @@ public:
struct TypographicQuotes
{
TQChar begin, end;
- bool tqreplace; // aka enabled
+ bool replace; // aka enabled
};
// Configuration (on/off/settings). Called by the dialog.
@@ -289,7 +289,7 @@ public:
buildMaxLen();
}
- void addAutoFormatEntry( const TQString &key, const TQString &tqreplace );
+ void addAutoFormatEntry( const TQString &key, const TQString &replace );
void removeAutoFormatEntry( const TQString &key ) {