summaryrefslogtreecommitdiffstats
path: root/krita/core/kis_nameserver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'krita/core/kis_nameserver.cc')
-rw-r--r--krita/core/kis_nameserver.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/krita/core/kis_nameserver.cc b/krita/core/kis_nameserver.cc
index bdc59ca2..ff66144d 100644
--- a/krita/core/kis_nameserver.cc
+++ b/krita/core/kis_nameserver.cc
@@ -17,7 +17,7 @@
*/
#include "kis_nameserver.h"
-KisNameServer::KisNameServer(const QString& prefix, Q_INT32 seed)
+KisNameServer::KisNameServer(const TQString& prefix, TQ_INT32 seed)
{
m_prefix = prefix;
m_generator = seed;
@@ -27,17 +27,17 @@ KisNameServer::~KisNameServer()
{
}
-QString KisNameServer::name()
+TQString KisNameServer::name()
{
- return m_prefix.arg(m_generator++);
+ return m_prefix.tqarg(m_generator++);
}
-Q_INT32 KisNameServer::currentSeed() const
+TQ_INT32 KisNameServer::currentSeed() const
{
return m_generator;
}
-Q_INT32 KisNameServer::number()
+TQ_INT32 KisNameServer::number()
{
return m_generator++;
}