Moved XPDR definitions into "actionhotkeydefs.h"

This commit is contained in:
Klaus Basan
2019-06-11 02:46:06 +02:00
committed by Mat Sutcliffe
parent 017e9402fd
commit d072224a8b
3 changed files with 40 additions and 4 deletions

View File

@@ -56,5 +56,28 @@ namespace BlackMisc
static const QString s("/Audio/Volume increase");
return s;
}
const QPixmap &toggleXPDRStateHotkeyIcon()
{
return CIcons::radio16();
}
const QPixmap &toggleXPDRIdentHotkeyIcon()
{
return CIcons::radio16();
}
const QString &toggleXPDRStateHotkeyAction()
{
static const QString s("/Own aircraft/Toggle XPDR state");
return s;
}
const QString &toggleXPDRIdentHotkeyAction()
{
static const QString s("/Own aircraft/XPDR ident");
return s;
}
} // ns
} // ns

View File

@@ -44,6 +44,18 @@ namespace BlackMisc
//! Audio icon volume -
BLACKMISC_EXPORT const QPixmap &audioVolumeDecreaseHotkeyIcon();
//! XPDR state
BLACKMISC_EXPORT const QString &toggleXPDRStateHotkeyAction();
//! XPDR state
BLACKMISC_EXPORT const QPixmap &toggleXPDRStateHotkeyIcon();
//! XPDR state
BLACKMISC_EXPORT const QString &toggleXPDRIdentHotkeyAction();
//! XPDR ident
BLACKMISC_EXPORT const QPixmap &toggleXPDRIdentHotkeyIcon();
} // ns
} // ns