summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopeteeventpresentation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/kopeteeventpresentation.cpp')
-rw-r--r--kopete/libkopete/kopeteeventpresentation.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kopete/libkopete/kopeteeventpresentation.cpp b/kopete/libkopete/kopeteeventpresentation.cpp
index f90a19e5..659b1b41 100644
--- a/kopete/libkopete/kopeteeventpresentation.cpp
+++ b/kopete/libkopete/kopeteeventpresentation.cpp
@@ -23,7 +23,7 @@ Kopete::EventPresentation::EventPresentation( const PresentationType type )
}
Kopete::EventPresentation::EventPresentation( const PresentationType type,
- const QString &content, const bool singleShot, const bool enabled )
+ const TQString &content, const bool singleShot, const bool enabled )
{
m_type = type;
m_content = content;
@@ -40,7 +40,7 @@ Kopete::EventPresentation::PresentationType Kopete::EventPresentation::type()
return m_type;
}
-QString Kopete::EventPresentation::content()
+TQString Kopete::EventPresentation::content()
{
return m_content;
}
@@ -55,7 +55,7 @@ bool Kopete::EventPresentation::singleShot()
return m_singleShot;
}
-void Kopete::EventPresentation::setContent( const QString &content )
+void Kopete::EventPresentation::setContent( const TQString &content )
{
m_content = content;
}
@@ -70,21 +70,21 @@ void Kopete::EventPresentation::setSingleShot( const bool singleShot )
m_singleShot = singleShot;
}
-QString Kopete::EventPresentation::toString()
+TQString Kopete::EventPresentation::toString()
{
- QString type;
+ TQString type;
switch ( m_type )
{
case Sound:
- type= QString::fromLatin1("sound");
+ type= TQString::fromLatin1("sound");
break;
case Message:
- type= QString::fromLatin1("message");
+ type= TQString::fromLatin1("message");
break;
case Chat:
- type= QString::fromLatin1("chat");
+ type= TQString::fromLatin1("chat");
break;
}
- QString stringRep = QString::fromLatin1( "Presentation; type=%1; content=%2; enabled=%3; single shot=%4\n" ).arg(type).arg(m_content).arg(m_enabled).arg(m_singleShot);
+ TQString stringRep = TQString::fromLatin1( "Presentation; type=%1; content=%2; enabled=%3; single shot=%4\n" ).arg(type).arg(m_content).arg(m_enabled).arg(m_singleShot);
return stringRep;
}