Script
Public Slots | List of all members
fileMapper Class Reference

The FileMapper function, toNativePath(const QString&) will return the complete path of the passed path resolving shortcuts in windows. Will also convert the path separator to . More...

#include <filemapperinterface.h>

Inheritance diagram for fileMapper:
Inheritance graph
[legend]
Collaboration diagram for fileMapper:
Collaboration graph
[legend]

Public Slots

QString toNativePath (const QString &path)
 returns the complete path of the passed path resolving shortcuts in windows
 

Detailed Description

The FileMapper function, toNativePath(const QString&) will return the complete path of the passed path resolving shortcuts in windows. Will also convert the path separator to .

Your /usadata000 is mapped to a network drive through a shortcut
pointing to /server/path/usadata000
var remapped = fileMapper.toNativePath("/usadata000/file.txt");
remapped will be
\\server\path\usadata000\file.txt

Member Function Documentation

QString fileMapper::toNativePath ( const QString &  path)
slot

returns the complete path of the passed path resolving shortcuts in windows

Parameters
path: path on Windows

The documentation for this class was generated from the following file: