diff options
Diffstat (limited to 'quanta/messages/annotationoutput.cpp')
-rw-r--r-- | quanta/messages/annotationoutput.cpp | 8 |
1 files changed, 4 insertions, 4 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 |