summaryrefslogtreecommitdiffstats
path: root/quanta/messages
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/messages')
-rw-r--r--quanta/messages/annotationoutput.cpp8
-rw-r--r--quanta/messages/annotationoutput.h2
-rw-r--r--quanta/messages/messageoutput.cpp4
-rw-r--r--quanta/messages/messageoutput.h2
4 files changed, 8 insertions, 8 deletions
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<ui
void AnnotationOutput::allAnnotationsItemExecuted(TQListViewItem *item)
{
- if (dynamic_cast<KListView*> (item->tqparent()) != m_allAnnotations)
+ if (dynamic_cast<KListView*> (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<KListView*> (item->tqparent()) != m_yourAnnotations)
+ if (dynamic_cast<KListView*> (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();