2013-02-21 19:40:32 +00:00
|
|
|
#ifndef USERUTILS_H
|
|
|
|
#define USERUTILS_H
|
2013-02-13 03:03:15 +00:00
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
|
namespace Util
|
|
|
|
{
|
2013-02-25 19:39:07 +00:00
|
|
|
// Get the Directory representing the User's Desktop
|
|
|
|
QString getDesktopDir();
|
2013-02-13 03:03:15 +00:00
|
|
|
|
2013-02-25 19:39:07 +00:00
|
|
|
// Create a shortcut at *location*, pointing to *dest* called with the arguments *args*
|
|
|
|
// call it *name* and assign it the icon *icon*
|
|
|
|
// return true if operation succeeded
|
|
|
|
bool createShortCut(QString location, QString dest, QStringList args, QString name, QString iconLocation);
|
2013-02-13 03:03:15 +00:00
|
|
|
}
|
|
|
|
|
2013-02-21 19:40:32 +00:00
|
|
|
#endif // USERUTILS_H
|