Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent f6fa7358bc
commit 672c9c39de

@ -72,7 +72,7 @@ KDiff3Plugin::KDiff3Plugin( KonqPopupMenu* pPopupmenu, const char *name, const T
m_pParentWidget = pPopupmenu->parentWidget(); m_pParentWidget = pPopupmenu->parentWidget();
KGlobal::locale()->insertCatalogue("kdiff3_plugin"); TDEGlobal::locale()->insertCatalogue("kdiff3_plugin");
// remember currently selected files (copy to a TQStringList) // remember currently selected files (copy to a TQStringList)
KFileItemList itemList = pPopupmenu->fileItemList(); KFileItemList itemList = pPopupmenu->fileItemList();

@ -154,12 +154,12 @@ void KDiff3Shell::optionsConfigureToolbars()
{ {
#if defined(TDE_MAKE_VERSION) #if defined(TDE_MAKE_VERSION)
# if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0) # if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0)
saveMainWindowSettings(KGlobal::config(), autoSaveGroup()); saveMainWindowSettings(TDEGlobal::config(), autoSaveGroup());
# else # else
saveMainWindowSettings(KGlobal::config() ); saveMainWindowSettings(TDEGlobal::config() );
# endif # endif
#else #else
saveMainWindowSettings(KGlobal::config() ); saveMainWindowSettings(TDEGlobal::config() );
#endif #endif
// use the standard toolbar editor // use the standard toolbar editor
@ -173,12 +173,12 @@ void KDiff3Shell::applyNewToolbarConfig()
{ {
#if defined(TDE_MAKE_VERSION) #if defined(TDE_MAKE_VERSION)
# if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0) # if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0)
applyMainWindowSettings(KGlobal::config(), autoSaveGroup()); applyMainWindowSettings(TDEGlobal::config(), autoSaveGroup());
# else # else
applyMainWindowSettings(KGlobal::config()); applyMainWindowSettings(TDEGlobal::config());
# endif # endif
#else #else
applyMainWindowSettings(KGlobal::config()); applyMainWindowSettings(TDEGlobal::config());
#endif #endif
} }

@ -410,7 +410,7 @@ public:
KEditToolbar( int ){} KEditToolbar( int ){}
}; };
class KGlobal class TDEGlobal
{ {
public: public:
static KConfig* config() { return 0; } static KConfig* config() { return 0; }

@ -518,7 +518,7 @@ void OptionDialog::setupFontPage( void )
#elif defined( KREPLACEMENTS_H ) #elif defined( KREPLACEMENTS_H )
TQFont("Courier", 10 ); TQFont("Courier", 10 );
#else #else
KGlobalSettings::fixedFont(); TDEGlobalSettings::fixedFont();
#endif #endif
OptionFontChooser* pFontChooser = new OptionFontChooser( defaultFont, "Font", &m_font, page, this ); OptionFontChooser* pFontChooser = new OptionFontChooser( defaultFont, "Font", &m_font, page, this );

Loading…
Cancel
Save