diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:30:29 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:30:29 -0600 |
commit | 115fcbe323837e49907d6897f28dd8c91dea3b6f (patch) | |
tree | 63591e3c2f28cc9932092bef506513c1e60cdc0d /tqt | |
parent | 1357c741a62551adb43f447df8de32b0eb051e3f (diff) | |
download | kgtk-qt3-115fcbe323837e49907d6897f28dd8c91dea3b6f.tar.gz kgtk-qt3-115fcbe323837e49907d6897f28dd8c91dea3b6f.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'tqt')
-rw-r--r-- | tqt/kqt3.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tqt/kqt3.cpp b/tqt/kqt3.cpp index 962f72a..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")) @@ -397,7 +397,7 @@ static bool sendMessage(TQWidget *parent, Operation op, TQStringList &res, TQStr if(connectToKDialogD(getAppName())) { char o=(char)op; - int xid=parent ? parent->tqtopLevelWidget()->winId() : tqApp->activeWindow()->winId(); + int xid=parent ? parent->topLevelWidget()->winId() : tqApp->activeWindow()->winId(); if(writeBlock(kdialogdSocket, &o, 1) && writeBlock(kdialogdSocket, (char *)&xid, 4) && |