|
|
|
@ -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
|
|
|
|
|