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();
KGlobal::locale()->insertCatalogue("kdiff3_plugin");
TDEGlobal::locale()->insertCatalogue("kdiff3_plugin");
// remember currently selected files (copy to a TQStringList)
KFileItemList itemList = pPopupmenu->fileItemList();

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

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

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

Loading…
Cancel
Save