Sayonara Player
Filepath.h
1 #ifndef FILEPATH_H
2 #define FILEPATH_H
3 
4 #include "Utils/Pimpl.h"
5 
6 namespace Util
7 {
8  class Filepath
9  {
10  PIMPL(Filepath)
11 
12  public:
13  Filepath(const QString& path);
14  Filepath(const Filepath& other);
15  ~Filepath();
16 
17  Filepath& operator=(const QString& path);
18  Filepath& operator=(const Filepath& path);
19 
20  bool operator==(const QString& path) const;
21  bool operator==(const Filepath& path) const;
22 
23  QString path() const;
24  QString fileystemPath() const;
25 
26  bool isResource() const;
27  bool isFilesystemPath() const;
28  bool isUrl() const;
29  };
30 }
31 
32 
33 #endif // FILEPATH_H
Util::Filepath
Definition: Filepath.h:9
Util
Helper functions.
Definition: GenreView.h:36