diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 11:36:30 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-19 11:36:30 -0600 |
commit | b67bd80ac631bc1946eb368e0e8f4892c7d4bd0b (patch) | |
tree | 63591e3c2f28cc9932092bef506513c1e60cdc0d /tqt/kqt3.cpp | |
parent | 3420c0cfed2a15b298f4b878e19e6104afb8d4b1 (diff) | |
download | kgtk-qt3-b67bd80ac631bc1946eb368e0e8f4892c7d4bd0b.tar.gz kgtk-qt3-b67bd80ac631bc1946eb368e0e8f4892c7d4bd0b.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'tqt/kqt3.cpp')
-rw-r--r-- | tqt/kqt3.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
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<TQComboBox *>(*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<TQLineEdit *>(*it)) // && 0==qstrcmp((*it)->name(), "name/filter editor")) |