summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kivio_doc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/kivio_doc.cpp')
-rw-r--r--kivio/kiviopart/kivio_doc.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kivio/kiviopart/kivio_doc.cpp b/kivio/kiviopart/kivio_doc.cpp
index d25bcfa0..a7dee3d4 100644
--- a/kivio/kiviopart/kivio_doc.cpp
+++ b/kivio/kiviopart/kivio_doc.cpp
@@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <tqdom.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqbuffer.h>
#include <tqtabwidget.h>
#include <tqpaintdevicemetrics.h>
@@ -119,7 +119,7 @@ KivioDoc::KivioDoc( TQWidget *parentWidget, const char* widgetName, TQObject* pa
if ( !name )
{
TQString tmp( "Document%1" ); //lukas: FIXME
- tmp = tmp.arg( s_docId++ );
+ tmp = tmp.tqarg( s_docId++ );
setName( tmp.latin1() );
}
@@ -307,7 +307,7 @@ bool KivioDoc::saveOasis(KoStore* store, KoXmlWriter* manifestWriter)
KoGenStyle pageLayout = Kivio::Config::defaultPageLayout().saveOasis();
TQString layoutName = styles.lookup(pageLayout, "PL");
KoGenStyle masterPage(KoGenStyle::STYLE_MASTER);
- masterPage.addAttribute("style:page-layout-name", layoutName);
+ masterPage.addAttribute("style:page-tqlayout-name", layoutName);
styles.lookup(masterPage, "Standard", false);
if(!store->open("content.xml")) {
@@ -345,7 +345,7 @@ bool KivioDoc::saveOasis(KoStore* store, KoXmlWriter* manifestWriter)
TQValueList<KoGenStyles::NamedStyle>::const_iterator it = styleList.begin();
for ( ; it != styleList.end(); ++it) {
- (*it).style->writeStyle(styleWriter, styles, "style:page-layout", (*it).name, "style:page-layout-properties");
+ (*it).style->writeStyle(styleWriter, styles, "style:page-tqlayout", (*it).name, "style:page-tqlayout-properties");
}
styleList = styles.styles(Kivio::STYLE_PAGE);
@@ -627,7 +627,7 @@ bool KivioDoc::completeLoading( KoStore* )
KivioPage* KivioDoc::createPage()
{
TQString s( i18n("Page%1") );
- s = s.arg( m_iPageId++ );
+ s = s.tqarg( m_iPageId++ );
KivioPage* t = new KivioPage(m_pMap, s);
t->setPageName(s,true);