summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/history/historyguiclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/history/historyguiclient.cpp')
-rw-r--r--kopete/plugins/history/historyguiclient.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kopete/plugins/history/historyguiclient.cpp b/kopete/plugins/history/historyguiclient.cpp
index 133e50a3..4b1798ae 100644
--- a/kopete/plugins/history/historyguiclient.cpp
+++ b/kopete/plugins/history/historyguiclient.cpp
@@ -28,7 +28,7 @@
class HistoryPlugin;
HistoryGUIClient::HistoryGUIClient(Kopete::ChatSession *parent, const char *name)
- : QObject(parent, name), KXMLGUIClient(parent)
+ : TQObject(parent, name), KXMLGUIClient(parent)
{
setInstance(KGenericFactory<HistoryPlugin>::instance());
@@ -38,12 +38,12 @@ HistoryGUIClient::HistoryGUIClient(Kopete::ChatSession *parent, const char *name
if(!m_manager || m_manager->members().isEmpty())
deleteLater();
- QPtrList<Kopete::Contact> mb=m_manager->members();
+ TQPtrList<Kopete::Contact> mb=m_manager->members();
m_logger=new HistoryLogger( mb.first() , this );
- actionLast=new KAction( i18n("History Last" ), QString::fromLatin1( "finish" ), 0, this, SLOT(slotLast()), actionCollection() , "historyLast" );
- actionPrev = KStdAction::back( this, SLOT(slotPrevious()), actionCollection() , "historyPrevious" );
- actionNext = KStdAction::forward( this, SLOT(slotNext()), actionCollection() , "historyNext" );
+ actionLast=new KAction( i18n("History Last" ), TQString::fromLatin1( "finish" ), 0, this, TQT_SLOT(slotLast()), actionCollection() , "historyLast" );
+ actionPrev = KStdAction::back( this, TQT_SLOT(slotPrevious()), actionCollection() , "historyPrevious" );
+ actionNext = KStdAction::forward( this, TQT_SLOT(slotNext()), actionCollection() , "historyNext" );
// we are generally at last when begining
actionPrev->setEnabled(true);
@@ -64,8 +64,8 @@ void HistoryGUIClient::slotPrevious()
KopeteView *m_currentView = m_manager->view(true);
m_currentView->clear();
- QPtrList<Kopete::Contact> mb = m_manager->members();
- QValueList<Kopete::Message> msgs = m_logger->readMessages(
+ TQPtrList<Kopete::Contact> mb = m_manager->members();
+ TQValueList<Kopete::Message> msgs = m_logger->readMessages(
HistoryConfig::number_ChatWindow(), /*mb.first()*/ 0L,
HistoryLogger::AntiChronological, true);
@@ -81,9 +81,9 @@ void HistoryGUIClient::slotLast()
KopeteView *m_currentView = m_manager->view(true);
m_currentView->clear();
- QPtrList<Kopete::Contact> mb = m_manager->members();
+ TQPtrList<Kopete::Contact> mb = m_manager->members();
m_logger->setPositionToLast();
- QValueList<Kopete::Message> msgs = m_logger->readMessages(
+ TQValueList<Kopete::Message> msgs = m_logger->readMessages(
HistoryConfig::number_ChatWindow(), /*mb.first()*/ 0L,
HistoryLogger::AntiChronological, true);
@@ -100,8 +100,8 @@ void HistoryGUIClient::slotNext()
KopeteView *m_currentView = m_manager->view(true);
m_currentView->clear();
- QPtrList<Kopete::Contact> mb = m_manager->members();
- QValueList<Kopete::Message> msgs = m_logger->readMessages(
+ TQPtrList<Kopete::Contact> mb = m_manager->members();
+ TQValueList<Kopete::Message> msgs = m_logger->readMessages(
HistoryConfig::number_ChatWindow(), /*mb.first()*/ 0L,
HistoryLogger::Chronological, false);