diff options
Diffstat (limited to 'src/knutmessagemanager.cpp')
-rw-r--r-- | src/knutmessagemanager.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/knutmessagemanager.cpp b/src/knutmessagemanager.cpp index 4a5aa8a..6a39d03 100644 --- a/src/knutmessagemanager.cpp +++ b/src/knutmessagemanager.cpp @@ -16,9 +16,9 @@ ***************************************************************************/ #include "knutmessagemanager.h" -#include <qstring.h> +#include <tqstring.h> -KNutMessageManager::KNutMessageManager( QObject *parent, const char *name) : QObject (parent, name) { +KNutMessageManager::KNutMessageManager( TQObject *tqparent, const char *name) : TQObject (tqparent, name) { //qDebug("KNutMessageManager::KNutMessageManager"); @@ -39,16 +39,16 @@ KNutMessageManager::~KNutMessageManager(){ void KNutMessageManager::deleteMessage (void) { if (m_myMess) { - disconnect (m_myMess,SIGNAL(finished()),this,SLOT(slotFinishedMessage())); - disconnect (m_myMess,SIGNAL(endMessage()),this,SLOT(slotEndMessage())); - disconnect (m_myMess,SIGNAL(messageMoved(int,int)),this,SLOT(slotMessageMoved(int,int))); + disconnect (m_myMess,TQT_SIGNAL(finished()),this,TQT_SLOT(slotFinishedMessage())); + disconnect (m_myMess,TQT_SIGNAL(endMessage()),this,TQT_SLOT(slotEndMessage())); + disconnect (m_myMess,TQT_SIGNAL(messageMoved(int,int)),this,TQT_SLOT(slotMessageMoved(int,int))); m_myMess->hide(); delete m_myMess; m_myMess = 0; } } -void KNutMessageManager::addMessage (QString text, knc::LevelOfMessage messageLevel, bool useInfoIcon, bool useShortTimeOfValidity) { +void KNutMessageManager::addMessage (TQString text, knc::LevelOfMessage messageLevel, bool useInfoIcon, bool useShortTimeOfValidity) { long int timeOfMessageValidity; if (useShortTimeOfValidity) timeOfMessageValidity = ShortTimeOfValidity; @@ -82,18 +82,18 @@ long int timeOfMessageValidity; } m_myMess->show(); - connect (m_myMess,SIGNAL(finished()),this,SLOT(slotFinishedMessage())); - connect (m_myMess,SIGNAL(endMessage()),this,SLOT(slotEndMessage())); - connect (m_myMess,SIGNAL(messageMoved(int,int)),this,SLOT(slotMessageMoved(int,int))); + connect (m_myMess,TQT_SIGNAL(finished()),this,TQT_SLOT(slotFinishedMessage())); + connect (m_myMess,TQT_SIGNAL(endMessage()),this,TQT_SLOT(slotEndMessage())); + connect (m_myMess,TQT_SIGNAL(messageMoved(int,int)),this,TQT_SLOT(slotMessageMoved(int,int))); } void KNutMessageManager::slotFinishedMessage (void) { if (m_myMess) { - disconnect (m_myMess,SIGNAL(finished()),this,SLOT(slotFinishedMessage())); - disconnect (m_myMess,SIGNAL(endMessage()),this,SLOT(slotEndMessage())); - disconnect (m_myMess,SIGNAL(messageMoved(int,int)),this,SLOT(slotMessageMoved(int,int))); + disconnect (m_myMess,TQT_SIGNAL(finished()),this,TQT_SLOT(slotFinishedMessage())); + disconnect (m_myMess,TQT_SIGNAL(endMessage()),this,TQT_SLOT(slotEndMessage())); + disconnect (m_myMess,TQT_SIGNAL(messageMoved(int,int)),this,TQT_SLOT(slotMessageMoved(int,int))); m_myMess->hide(); m_myMess->deleteLater(); m_myMess=0; |