From 6c79d50fa9fbdff7f69ca57a8ab5fcc942375593 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- quanta/messages/annotationoutput.cpp | 8 ++++---- quanta/messages/annotationoutput.h | 2 +- quanta/messages/messageoutput.cpp | 4 ++-- quanta/messages/messageoutput.h | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'quanta/messages') diff --git a/quanta/messages/annotationoutput.cpp b/quanta/messages/annotationoutput.cpp index 57a8e84c..543fe734 100644 --- a/quanta/messages/annotationoutput.cpp +++ b/quanta/messages/annotationoutput.cpp @@ -35,8 +35,8 @@ #include "quantacommon.h" #include "viewmanager.h" -AnnotationOutput::AnnotationOutput(TQWidget *tqparent, const char *name) - : KTabWidget(tqparent, name) +AnnotationOutput::AnnotationOutput(TQWidget *parent, const char *name) + : KTabWidget(parent, name) { m_currentFileAnnotations = new MessageOutput(this); addTab(m_currentFileAnnotations, i18n("Current File")); @@ -261,7 +261,7 @@ void AnnotationOutput::writeAnnotations(const TQString &fileName, const TQMap (item->tqparent()) != m_allAnnotations) + if (dynamic_cast (item->parent()) != m_allAnnotations) { emit clicked(m_fileNames[item], m_lines[item], 0); } else @@ -270,7 +270,7 @@ void AnnotationOutput::allAnnotationsItemExecuted(TQListViewItem *item) void AnnotationOutput::yourAnnotationsItemExecuted(TQListViewItem *item) { - if (dynamic_cast (item->tqparent()) != m_yourAnnotations) + if (dynamic_cast (item->parent()) != m_yourAnnotations) { emit clicked(m_yourFileNames[item], m_yourLines[item], 0); } else diff --git a/quanta/messages/annotationoutput.h b/quanta/messages/annotationoutput.h index ac87d705..beb1925c 100644 --- a/quanta/messages/annotationoutput.h +++ b/quanta/messages/annotationoutput.h @@ -39,7 +39,7 @@ class AnnotationOutput : public KTabWidget Q_OBJECT TQ_OBJECT public: - AnnotationOutput(TQWidget *tqparent = 0, const char *name = 0); + AnnotationOutput(TQWidget *parent = 0, const char *name = 0); ~AnnotationOutput(); MessageOutput *currentFileAnnotations() const {return m_currentFileAnnotations;} diff --git a/quanta/messages/messageoutput.cpp b/quanta/messages/messageoutput.cpp index 43050d55..94bfecfb 100644 --- a/quanta/messages/messageoutput.cpp +++ b/quanta/messages/messageoutput.cpp @@ -32,8 +32,8 @@ #include "messageoutput.h" #include "messageitem.h" -MessageOutput::MessageOutput(TQWidget *tqparent, const char *name ) - : TQListBox(tqparent,name) +MessageOutput::MessageOutput(TQWidget *parent, const char *name ) + : TQListBox(parent,name) { m_maxItems = 2000; diff --git a/quanta/messages/messageoutput.h b/quanta/messages/messageoutput.h index b90198f7..c24e371d 100644 --- a/quanta/messages/messageoutput.h +++ b/quanta/messages/messageoutput.h @@ -34,7 +34,7 @@ class MessageOutput : public TQListBox { Q_OBJECT TQ_OBJECT public: - MessageOutput(TQWidget *tqparent=0, const char *name=0); + MessageOutput(TQWidget *parent=0, const char *name=0); ~MessageOutput(); // Return whole content as a single string with EOLs TQString content(); -- cgit v1.2.1