Qx v0.5.8
Qt Extensions Library
|
The ShortcutProperties struct acts as a user-friendly container for holding IShellLink data, which are the varies properties of a Windows .lnk
shortcut.
More...
#include <qx/windows/qx-common-windows.h>
Public Types | |
enum | ShowMode { NORMAL , MAXIMIZED , MINIMIZED } |
Public Attributes | |
QString | comment |
QString | iconFilePath |
int | iconIndex = 0 |
ShowMode | showMode = NORMAL |
QString | startIn |
QString | target |
QString | targetArgs |
QString Qx::ShortcutProperties::comment |
A comment viewable within the shortcut properties.
QString Qx::ShortcutProperties::iconFilePath |
A full path to the file that contains shortcut's icon.
int Qx::ShortcutProperties::iconIndex = 0 |
The index of the icon within the shortcut's icon file.
This should be a zero or positive value for files that contain multiple icons (e.g. DLL, EXE, multi-image ICO, etc.), or simply zero if iconFilePath points to a single image.
ShortcutProperties::ShowMode Qx::ShortcutProperties::showMode = NORMAL |
The show mode to use for the target application.
QString Qx::ShortcutProperties::startIn |
The "Start in" directory from which to launch the target.
QString Qx::ShortcutProperties::target |
The shortcut's target.
QString Qx::ShortcutProperties::targetArgs |
The arguments to pass the shortcut's target.