functions.h 630 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. * functions.h
  3. *
  4. * Created on: Oct 6, 2011
  5. * Author: Gapchich Vladislav
  6. */
  7. #ifndef FUNCTIONS_H_
  8. #define FUNCTIONS_H_
  9. class QString;
  10. class QChar;
  11. class QDomDocument;
  12. QString getDirFromPath(
  13. const QString *aPath
  14. );
  15. QString getFilenameFromPath(
  16. const QString *aPath
  17. );
  18. int getNumFromString(
  19. QString *aString,
  20. const QString &aFirstStr,
  21. const QString &aSecondStr,
  22. bool *anOkFlag
  23. );
  24. QString alterFileName(
  25. const QString &aFilename,
  26. const QString &aSuffix
  27. );
  28. QString removePath(
  29. const QString &aFilename
  30. );
  31. QString getPathFromFilename(
  32. const QString &aFilename
  33. );
  34. #endif /* __FUNCTIONS_H__ */
  35. /*
  36. *
  37. */