summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/history/historyguiclient.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/plugins/history/historyguiclient.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);