From b67bd80ac631bc1946eb368e0e8f4892c7d4bd0b Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 19 Dec 2011 11:36:30 -0600 Subject: Remove additional unneeded tq method conversions --- tqt/kqt3.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'tqt/kqt3.cpp') diff --git a/tqt/kqt3.cpp b/tqt/kqt3.cpp index 80a9b0d..8ceb265 100644 --- a/tqt/kqt3.cpp +++ b/tqt/kqt3.cpp @@ -188,7 +188,7 @@ static void kde2TQtFilter(const TQString &orig, TQString *sel) // HACK HACK HACK!!! // KGtk versions <=0.9.1 used this copied TQFileDialogPrivate to access the file filters -// newer versions walk the file dialogs tqchildren... +// newer versions walk the file dialogs children... class TQFileDialogPrivate { public: ~TQFileDialogPrivate(); @@ -224,12 +224,12 @@ static const TQString getFilters(TQFileDialog *dlg, bool scribusSave=false) #else if(dlg) { - const TQObjectList tqchildren=((TQObject *)dlg)->childrenListObject(); + const TQObjectList children=((TQObject *)dlg)->childrenListObject(); - if(!tqchildren.isEmpty()) + if(!children.isEmpty()) { - TQObjectList::ConstIterator it(tqchildren.begin()), - end(tqchildren.end()); + TQObjectList::ConstIterator it(children.begin()), + end(children.end()); for(; it!=end; ++it) if(::tqqt_cast(*it) && 0==qstrcmp((*it)->name(), "file types")) @@ -261,12 +261,12 @@ static TQString getCurrentFileName(TQFileDialog *dlg) { if(dlg) { - const TQObjectList tqchildren=((TQObject *)dlg)->childrenListObject(); + const TQObjectList children=((TQObject *)dlg)->childrenListObject(); - if(!tqchildren.isEmpty()) + if(!children.isEmpty()) { - TQObjectList::ConstIterator it(tqchildren.begin()), - end(tqchildren.end()); + TQObjectList::ConstIterator it(children.begin()), + end(children.end()); for(; it!=end; ++it) if(::tqqt_cast(*it)) // && 0==qstrcmp((*it)->name(), "name/filter editor")) -- cgit v1.2.1