summaryrefslogtreecommitdiffstats
path: root/knode/knarticlewindow.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /knode/knarticlewindow.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knode/knarticlewindow.cpp')
-rw-r--r--knode/knarticlewindow.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/knode/knarticlewindow.cpp b/knode/knarticlewindow.cpp
index 3e6898182..05b4f83ae 100644
--- a/knode/knarticlewindow.cpp
+++ b/knode/knarticlewindow.cpp
@@ -29,13 +29,13 @@
using namespace KNode;
-QValueList<KNArticleWindow*> KNArticleWindow::mInstances;
+TQValueList<KNArticleWindow*> KNArticleWindow::mInstances;
bool KNArticleWindow::closeAllWindowsForCollection( KNArticleCollection *col, bool force )
{
- QValueList<KNArticleWindow*> list = mInstances;
- for ( QValueList<KNArticleWindow*>::Iterator it = list.begin(); it != list.end(); ++it )
+ TQValueList<KNArticleWindow*> list = mInstances;
+ for ( TQValueList<KNArticleWindow*>::Iterator it = list.begin(); it != list.end(); ++it )
if ( (*it)->artW->article() && (*it)->artW->article()->collection() == col ) {
if ( force )
(*it)->close();
@@ -48,8 +48,8 @@ bool KNArticleWindow::closeAllWindowsForCollection( KNArticleCollection *col, bo
bool KNArticleWindow::closeAllWindowsForArticle( KNArticle *art, bool force )
{
- QValueList<KNArticleWindow*> list = mInstances;
- for ( QValueList<KNArticleWindow*>::Iterator it = list.begin(); it != list.end(); ++it )
+ TQValueList<KNArticleWindow*> list = mInstances;
+ for ( TQValueList<KNArticleWindow*>::Iterator it = list.begin(); it != list.end(); ++it )
if ( (*it)->artW->article() && (*it)->artW->article() == art ) {
if ( force )
(*it)->close();
@@ -62,7 +62,7 @@ bool KNArticleWindow::closeAllWindowsForArticle( KNArticle *art, bool force )
bool KNArticleWindow::raiseWindowForArticle( KNArticle *art )
{
- for ( QValueList<KNArticleWindow*>::Iterator it = mInstances.begin(); it != mInstances.end(); ++it )
+ for ( TQValueList<KNArticleWindow*>::Iterator it = mInstances.begin(); it != mInstances.end(); ++it )
if ( (*it)->artW->article() && (*it)->artW->article() == art ) {
KWin::activateWindow( (*it)->winId() );
return true;
@@ -71,9 +71,9 @@ bool KNArticleWindow::raiseWindowForArticle( KNArticle *art )
}
-bool KNArticleWindow::raiseWindowForArticle(const QCString &mid)
+bool KNArticleWindow::raiseWindowForArticle(const TQCString &mid)
{
- for ( QValueList<KNArticleWindow*>::Iterator it = mInstances.begin(); it != mInstances.end(); ++it )
+ for ( TQValueList<KNArticleWindow*>::Iterator it = mInstances.begin(); it != mInstances.end(); ++it )
if ( (*it)->artW->article() && (*it)->artW->article()->messageID()->as7BitString( false ) == mid ) {
KWin::activateWindow( (*it)->winId() );
return true;
@@ -101,10 +101,10 @@ KNArticleWindow::KNArticleWindow(KNArticle *art)
mInstances.append( this );
// file menu
- KStdAction::close( this, SLOT(close()), actionCollection() );
+ KStdAction::close( this, TQT_SLOT(close()), actionCollection() );
// settings menu
- KStdAction::preferences(knGlobals.top, SLOT(slotSettings()), actionCollection());
+ KStdAction::preferences(knGlobals.top, TQT_SLOT(slotSettings()), actionCollection());
KAccel *accel = new KAccel( this );
artW->setCharsetKeyboardAction()->plugAccel( accel );