summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoUserStyle.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /lib/kotext/KoUserStyle.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kotext/KoUserStyle.h')
-rw-r--r--lib/kotext/KoUserStyle.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/kotext/KoUserStyle.h b/lib/kotext/KoUserStyle.h
index 51603f10f..7f964f900 100644
--- a/lib/kotext/KoUserStyle.h
+++ b/lib/kotext/KoUserStyle.h
@@ -20,7 +20,7 @@
#define KOUSERSTYLE_H
#include <koffice_export.h>
-#include <qstring.h>
+#include <tqstring.h>
/**
* Base class for any kind of style that the user can create/modify/delete/display.
@@ -33,23 +33,23 @@
class KOTEXT_EXPORT KoUserStyle
{
public:
- KoUserStyle( const QString & name );
+ KoUserStyle( const TQString & name );
/// The internal name (used for loading/saving, but not shown to the user)
/// Should be unique in a given style collection.
- QString name() const { return m_name; }
+ TQString name() const { return m_name; }
/// Set the internal name - see generateUniqueName() if needed
/// Should be unique in a given style collection.
- void setName( const QString & name ) { m_name = name; }
+ void setName( const TQString & name ) { m_name = name; }
/// The user-visible name (e.g. translated, or set by the user)
- QString displayName() const;
+ TQString displayName() const;
/// Set the user-visible name
- void setDisplayName( const QString& name );
+ void setDisplayName( const TQString& name );
protected:
- QString m_name;
- QString m_displayName;
+ TQString m_name;
+ TQString m_displayName;
};
#endif