diff options
Diffstat (limited to 'src/kommandoview.cpp')
-rw-r--r-- | src/kommandoview.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/kommandoview.cpp b/src/kommandoview.cpp index 32f6170..3182f12 100644 --- a/src/kommandoview.cpp +++ b/src/kommandoview.cpp @@ -19,10 +19,10 @@ ***************************************************************************/ #include "kommandoview.h" -KommandoView::KommandoView(QWidget* parent, const QString& name) - : QListView(parent) +KommandoView::KommandoView(TQWidget* parent, const TQString& name) + : TQListView(parent) { - if(name == QString::null){ + if(name == TQString::null){ m_AppName = "default"; } else { m_AppName = name; @@ -35,17 +35,17 @@ KommandoView::KommandoView(QWidget* parent, const QString& name) KommandoViewList::KommandoViewList(bool autoDelete) - : QPtrList<KommandoView>() + : TQPtrList<KommandoView>() { setAutoDelete(autoDelete); } -bool KommandoViewList::contains(const QString& view ) +bool KommandoViewList::contains(const TQString& view ) { return getView(view) != 0; } -KommandoView * KommandoViewList::getView(const QString& view ) +KommandoView * KommandoViewList::getView(const TQString& view ) { for(KommandoView* it = first(); it != 0; it = next()){ if(it->appName() == view){ @@ -55,21 +55,21 @@ KommandoView * KommandoViewList::getView(const QString& view ) return 0; } -KommandoView * KommandoViewList::getViewOrDefault( const QString& view ) +KommandoView * KommandoViewList::getViewOrDefault( const TQString& view ) { KommandoView* temp = 0; for(KommandoView* it = first(); it != 0; it = next()){ if(it->appName() == view){ return it; } - if((it->appName() == "default") || (it->appName() == QString::null)){ + if((it->appName() == "default") || (it->appName() == TQString::null)){ temp=it; } } return temp; } -void KommandoViewList::removeView( const QString & view ) +void KommandoViewList::removeView( const TQString & view ) { for(KommandoView* it = first(); it != 0; it = next()){ if(it->appName() == view){ |