summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/simpleviewerexport/simpleviewerexport.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:18:20 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:18:20 -0600
commit8d3892fee88fd0eef3363aeca316ff5c93d9da19 (patch)
treed8c7854a78fe510e071d6d39cbc6cfa4368aef90 /kipi-plugins/simpleviewerexport/simpleviewerexport.cpp
parent3ed629ae12e33ac8a9c744e79135a4100d16b036 (diff)
downloadkipi-plugins-8d3892fee88fd0eef3363aeca316ff5c93d9da19.tar.gz
kipi-plugins-8d3892fee88fd0eef3363aeca316ff5c93d9da19.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kipi-plugins/simpleviewerexport/simpleviewerexport.cpp')
-rw-r--r--kipi-plugins/simpleviewerexport/simpleviewerexport.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/kipi-plugins/simpleviewerexport/simpleviewerexport.cpp b/kipi-plugins/simpleviewerexport/simpleviewerexport.cpp
index 9c9fe3d..8be9611 100644
--- a/kipi-plugins/simpleviewerexport/simpleviewerexport.cpp
+++ b/kipi-plugins/simpleviewerexport/simpleviewerexport.cpp
@@ -336,24 +336,24 @@ bool SimpleViewerExport::exportImages()
file.open(IO_WriteOnly);
TQDomDocument xmlDoc;
- xmlDoc.appendChild(xmlDoc.createProcessingInstruction( TQString::tqfromLatin1("xml"),
- TQString::tqfromLatin1("version=\"1.0\" encoding=\"UTF-8\"") ) );
- TQDomElement galleryElem = xmlDoc.createElement(TQString::tqfromLatin1("simpleviewerGallery"));
+ xmlDoc.appendChild(xmlDoc.createProcessingInstruction( TQString::fromLatin1("xml"),
+ TQString::fromLatin1("version=\"1.0\" encoding=\"UTF-8\"") ) );
+ TQDomElement galleryElem = xmlDoc.createElement(TQString::fromLatin1("simpleviewerGallery"));
xmlDoc.appendChild( galleryElem );
- galleryElem.setAttribute(TQString::tqfromLatin1("maxImageWidth"), m_configDlg->maxImageDimension());
- galleryElem.setAttribute(TQString::tqfromLatin1("maxImageHeight"), m_configDlg->maxImageDimension());
- galleryElem.setAttribute(TQString::tqfromLatin1("textColor"), TQString(m_configDlg->textColor().name()).replace("#", "0x"));
- galleryElem.setAttribute(TQString::tqfromLatin1("frameColor"), TQString(m_configDlg->frameColor().name()).replace("#", "0x"));
- galleryElem.setAttribute(TQString::tqfromLatin1("bgColor"), TQString(m_configDlg->backgroundColor().name()).replace("#", "0x"));
- galleryElem.setAttribute(TQString::tqfromLatin1("frameWidth"), m_configDlg->frameWidth());
- galleryElem.setAttribute(TQString::tqfromLatin1("stagePadding"), m_configDlg->stagePadding());
- galleryElem.setAttribute(TQString::tqfromLatin1("thumbnailColumns"), m_configDlg->thumbnailColumns());
- galleryElem.setAttribute(TQString::tqfromLatin1("thumbnailRows"), m_configDlg->thumbnailRows());
- galleryElem.setAttribute(TQString::tqfromLatin1("navPosition"), m_configDlg->navPosition());
- galleryElem.setAttribute(TQString::tqfromLatin1("navDirection"), m_configDlg->navDirection());
- galleryElem.setAttribute(TQString::tqfromLatin1("title"), m_configDlg->title());
- galleryElem.setAttribute(TQString::tqfromLatin1("imagePath"), TQString());
- galleryElem.setAttribute(TQString::tqfromLatin1("thumbPath"), TQString());
+ galleryElem.setAttribute(TQString::fromLatin1("maxImageWidth"), m_configDlg->maxImageDimension());
+ galleryElem.setAttribute(TQString::fromLatin1("maxImageHeight"), m_configDlg->maxImageDimension());
+ galleryElem.setAttribute(TQString::fromLatin1("textColor"), TQString(m_configDlg->textColor().name()).replace("#", "0x"));
+ galleryElem.setAttribute(TQString::fromLatin1("frameColor"), TQString(m_configDlg->frameColor().name()).replace("#", "0x"));
+ galleryElem.setAttribute(TQString::fromLatin1("bgColor"), TQString(m_configDlg->backgroundColor().name()).replace("#", "0x"));
+ galleryElem.setAttribute(TQString::fromLatin1("frameWidth"), m_configDlg->frameWidth());
+ galleryElem.setAttribute(TQString::fromLatin1("stagePadding"), m_configDlg->stagePadding());
+ galleryElem.setAttribute(TQString::fromLatin1("thumbnailColumns"), m_configDlg->thumbnailColumns());
+ galleryElem.setAttribute(TQString::fromLatin1("thumbnailRows"), m_configDlg->thumbnailRows());
+ galleryElem.setAttribute(TQString::fromLatin1("navPosition"), m_configDlg->navPosition());
+ galleryElem.setAttribute(TQString::fromLatin1("navDirection"), m_configDlg->navDirection());
+ galleryElem.setAttribute(TQString::fromLatin1("title"), m_configDlg->title());
+ galleryElem.setAttribute(TQString::fromLatin1("imagePath"), TQString());
+ galleryElem.setAttribute(TQString::fromLatin1("thumbPath"), TQString());
KExiv2Iface::KExiv2 meta;
TQImage image;
@@ -510,15 +510,15 @@ void SimpleViewerExport::cfgAddImage(TQDomDocument &xmlDoc, TQDomElement &galler
comment = TQString();
}
- TQDomElement img = xmlDoc.createElement(TQString::tqfromLatin1("image"));
+ TQDomElement img = xmlDoc.createElement(TQString::fromLatin1("image"));
galleryElem.appendChild(img);
- TQDomElement name = xmlDoc.createElement(TQString::tqfromLatin1("name"));
+ TQDomElement name = xmlDoc.createElement(TQString::fromLatin1("name"));
img.appendChild(name);
TQDomText nametxt = xmlDoc.createTextNode(newName);
name.appendChild(nametxt);
- TQDomElement caption = xmlDoc.createElement(TQString::tqfromLatin1("caption"));
+ TQDomElement caption = xmlDoc.createElement(TQString::fromLatin1("caption"));
img.appendChild(caption);
TQDomText captiontxt = xmlDoc.createTextNode(comment);
caption.appendChild(captiontxt);