diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-15 18:58:24 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-15 18:58:24 -0600 |
commit | b49dd7506883d2c41563bca9398959863e919b35 (patch) | |
tree | 788f8fc46143cc865e6d3727e289262d492d7f7b /kcachegrind | |
parent | 5ecec3ee7cd155970fce827878c3ecda701be4dc (diff) | |
download | tdesdk-b49dd7506883d2c41563bca9398959863e919b35.tar.gz tdesdk-b49dd7506883d2c41563bca9398959863e919b35.zip |
Rename KDE_VERSION to TDE_VERSION
Diffstat (limited to 'kcachegrind')
-rw-r--r-- | kcachegrind/kcachegrind/toplevel.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kcachegrind/kcachegrind/toplevel.cpp b/kcachegrind/kcachegrind/toplevel.cpp index db1dace7..44165742 100644 --- a/kcachegrind/kcachegrind/toplevel.cpp +++ b/kcachegrind/kcachegrind/toplevel.cpp @@ -120,7 +120,7 @@ TopLevel::TopLevel(const char *name) setupPartSelection(_partSelection); // KCachegrind for KDE 3.0.x does not allow to hide toolbars... -#if KDE_VERSION >= 308 // KDE 3.1 +#if TDE_VERSION >= 308 // KDE 3.1 setStandardToolBarMenuEnabled(true); #endif @@ -507,7 +507,7 @@ void TopLevel::createMiscActions() action->setWhatsThis( hint ); action = new KAction( i18n( "&Reload" ), "reload", -#if KDE_VERSION > 0x030190 +#if TDE_VERSION > 0x030190 // for KDE 3.2: KStdAccel::key is deprecated KStdAccel::shortcut(KStdAccel::Reload), #else @@ -529,7 +529,7 @@ void TopLevel::createMiscActions() _taDump = new KToggleAction( i18n( "&Force Dump" ), "redo", -#if KDE_VERSION > 0x030190 +#if TDE_VERSION > 0x030190 // for KDE 3.2: KStdAccel::key is deprecated KStdAccel::shortcut(KStdAccel::Redo), #else @@ -616,7 +616,7 @@ void TopLevel::createMiscActions() TQT_TQOBJECT(this), TQT_SLOT(togglePercentage()), actionCollection(), "view_percentage"); -#if KDE_VERSION >= 0x030290 +#if TDE_VERSION >= 0x030290 // for KDE 3.3: show another text instead of a checkmark _taPercentage->setCheckedState(i18n("Show Absolute Costs")); #endif @@ -654,7 +654,7 @@ void TopLevel::createMiscActions() KShortcut(), TQT_TQOBJECT(this), TQT_SLOT( toggleCycles() ), actionCollection(), "view_cycles" ); -#if KDE_VERSION >= 0x030290 +#if TDE_VERSION >= 0x030290 // for KDE 3.3: show another text instead of a checkmark _taCycles->setCheckedState(i18n("Skip Cycle Detection")); #endif @@ -797,7 +797,7 @@ void TopLevel::createMiscActions() _taSplitDir->setWhatsThis( hint ); // copied from KMail... -#if KDE_VERSION >= 308 // KDE 3.1 +#if TDE_VERSION >= 308 // KDE 3.1 KStdAction::tipOfDay( TQT_TQOBJECT(this), TQT_SLOT( slotShowTip() ), actionCollection() ); #else (void) new KAction( KGuiItem( i18n("Tip of the &Day..."), "idea", @@ -969,7 +969,7 @@ void TopLevel::querySlot() void TopLevel::configureKeys() { -#if KDE_VERSION > 0x030190 +#if TDE_VERSION > 0x030190 // for KDE 3.2: KKeyDialog::configureKeys is deprecated KKeyDialog::configure(actionCollection(), this, true); #else @@ -1016,7 +1016,7 @@ void TopLevel::loadTrace(const KURL& url) // network transparancy TQString tmpFile; -#if KDE_VERSION > 0x030190 +#if TDE_VERSION > 0x030190 // for KDE 3.2: KIO::NetAccess::download with 2 args is deprecated if(KIO::NetAccess::download( url, tmpFile, this )) { #else @@ -1065,7 +1065,7 @@ void TopLevel::addTrace(const KURL& url) // network transparancy TQString tmpFile; -#if KDE_VERSION > 0x030190 +#if TDE_VERSION > 0x030190 // for KDE 3.2: KIO::NetAccess::download with 2 args is deprecated if(KIO::NetAccess::download( url, tmpFile, this )) { #else |