From 5b8ab149469c8e186ee8b05d90c0103ae722dd85 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:23:24 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kword/KWDocument.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kword/KWDocument.cpp') diff --git a/kword/KWDocument.cpp b/kword/KWDocument.cpp index d5a82f5d2..94651cf8f 100644 --- a/kword/KWDocument.cpp +++ b/kword/KWDocument.cpp @@ -213,7 +213,7 @@ KWDocument::KWDocument(TQWidget *parentWidget, const char *widname, TQObject* pa m_bHasEndNotes = false; m_bInsertDirectCursor=false; - m_globalLanguage = KGlobal::locale()->language(); + m_globalLanguage = TDEGlobal::locale()->language(); m_bGlobalHyphenation = false; m_bGeneratingPreview = false; m_viewModeType="ModeNormal"; @@ -366,7 +366,7 @@ void KWDocument::initConfig() m_bShowDocStruct = false; // off by default for embedded docs, but still toggleable m_pgUpDownMovesCaret = config->readBoolEntry( "PgUpDownMovesCaret", true ); m_bInsertDirectCursor= config->readBoolEntry( "InsertDirectCursor", false ); - m_globalLanguage=config->readEntry("language", KGlobal::locale()->language()); + m_globalLanguage=config->readEntry("language", TDEGlobal::locale()->language()); m_bGlobalHyphenation=config->readBoolEntry("hyphenation", false); setShowGrid( config->readBoolEntry( "ShowGrid" , false )); @@ -2068,8 +2068,8 @@ void KWDocument::loadDefaultFrameStyleTemplates() { const TQString fsfileName( locate("data", "kword/framestyles.xml") ); - kdDebug(30003) << "Data directory: " << KGlobal::dirs()->resourceDirs( "data" ) << endl; - kdDebug(30003) << "Directory searched: " << KGlobal::dirs()->resourceDirs( "data" ) << endl; + kdDebug(30003) << "Data directory: " << TDEGlobal::dirs()->resourceDirs( "data" ) << endl; + kdDebug(30003) << "Directory searched: " << TDEGlobal::dirs()->resourceDirs( "data" ) << endl; kdDebug(30003) << "File framestyles.xml searched at: " << fsfileName << endl; m_frameStyleColl->setDefault( true ); -- cgit v1.2.3