diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:41 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:41 -0600 |
commit | bc35492ff852bb290006909536af53391753513f (patch) | |
tree | 58bf98002414003835d9b379d8c9dd8487327797 /ksquirrel/sq_imageproperties.ui.h | |
parent | 4a87ec7cc055b8e9269a71841a3c27a64a95246b (diff) | |
download | ksquirrel-bc35492ff852bb290006909536af53391753513f.tar.gz ksquirrel-bc35492ff852bb290006909536af53391753513f.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'ksquirrel/sq_imageproperties.ui.h')
-rw-r--r-- | ksquirrel/sq_imageproperties.ui.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ksquirrel/sq_imageproperties.ui.h b/ksquirrel/sq_imageproperties.ui.h index 340676c..73b63bb 100644 --- a/ksquirrel/sq_imageproperties.ui.h +++ b/ksquirrel/sq_imageproperties.ui.h @@ -69,11 +69,11 @@ void SQ_ImageProperties::setParams(TQStringList &l) int errors = (*it).toInt(); ++it; textFrames->setText(*it); ++it; textFrame->setText(*it); ++it; - TQString s = TQString::tqfromLatin1("%1").tqarg(i18n("1 error", "%n errors", errors)); - texttqStatus->setText((errors)?s:TQString()); + TQString s = TQString::fromLatin1("%1").arg(i18n("1 error", "%n errors", errors)); + textStatus->setText((errors)?s:TQString()); textStatusIcon->setPixmap((errors)?error:ok); - s = TQString::tqfromLatin1("%1%2").tqarg(*it).tqarg(i18n(" ms.")); + s = TQString::fromLatin1("%1%2").arg(*it).arg(i18n(" ms.")); textDelay->setText(s); } @@ -115,7 +115,7 @@ void SQ_ImageProperties::setFileParams() kew1->loadFile(file); // hack to workaround poor libkexif API - TQObjectList *ch = const_cast<TQObjectList *>(kew1->tqchildren()); + TQObjectList *ch = const_cast<TQObjectList *>(kew1->children()); for(TQObjectList::iterator it = ch->begin();it != ch->end();++it) { if((*it)->inherits(TQLISTVIEW_OBJECT_NAME_STRING)) @@ -162,9 +162,9 @@ void SQ_ImageProperties::setMetaInfo(TQValueVector<TQPair<TQString,TQString> > m for(TQValueVector<TQPair<TQString,TQString> >::iterator it = meta.begin();it != itEnd;++it) { if(after) - item = new TQListViewItem(listMeta, after, (*it).first+TQString::tqfromLatin1(" "), (*it).second.replace(TQChar('\n'), TQChar(' '))); + item = new TQListViewItem(listMeta, after, (*it).first+TQString::fromLatin1(" "), (*it).second.replace(TQChar('\n'), TQChar(' '))); else - after = item = new TQListViewItem(listMeta, (*it).first+TQString::tqfromLatin1(" "), (*it).second.replace(TQChar('\n'), TQChar(' '))); + after = item = new TQListViewItem(listMeta, (*it).first+TQString::fromLatin1(" "), (*it).second.replace(TQChar('\n'), TQChar(' '))); listMeta->insertItem(item); } @@ -192,7 +192,7 @@ void SQ_ImageProperties::slotContextMenu( TQListViewItem *item, const TQPoint &p void SQ_ImageProperties::slotCopyString() { - TQApplication::tqclipboard()->setText(data->text(z), TQClipboard::Clipboard); + TQApplication::clipboard()->setText(data->text(z), TQClipboard::Clipboard); } void SQ_ImageProperties::slotCopyAll() @@ -208,7 +208,7 @@ void SQ_ImageProperties::slotCopyAll() app.append(item->text(0) + "\n" + item->text(1) + "\n"); } - TQApplication::tqclipboard()->setText(app, TQClipboard::Clipboard); + TQApplication::clipboard()->setText(app, TQClipboard::Clipboard); } void SQ_ImageProperties::slotCopyEntry() @@ -218,7 +218,7 @@ void SQ_ImageProperties::slotCopyEntry() TQString app = data->text(0) + "\n" + data->text(1) + "\n"; - TQApplication::tqclipboard()->setText(app, TQClipboard::Clipboard); + TQApplication::clipboard()->setText(app, TQClipboard::Clipboard); } void SQ_ImageProperties::slotModeClicked(int id) @@ -243,8 +243,8 @@ void SQ_ImageProperties::slotStatResult(KIO::Job *job) lineFile->setText(fi.name()); textSize->setText(KIO::convertSize(fi.size())); - textOwner->setText(TQString("%1").tqarg(fi.user())); - textGroup->setText(TQString("%1").tqarg(fi.group())); + textOwner->setText(TQString("%1").arg(fi.user())); + textGroup->setText(TQString("%1").arg(fi.group())); textPermissions->setText(fi.permissionsString()); TQDateTime abs; |