summaryrefslogtreecommitdiffstats
path: root/knode/knarticlewindow.cpp
diff options
context:
space:
mode:
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 );