~ubuntu-branches/debian/sid/texstudio/sid

« back to all changes in this revision

Viewing changes to utilsSystem.h

  • Committer: Package Import Robot
  • Author(s): Tom Jampen
  • Date: 2015-09-13 21:19:38 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20150913211938-r3ro0cmgzo7w6frp
Tags: 2.10.0+debian-1
* Merging upstream version 2.10.0+debian.
* Updating 01-use-libhunspell.patch.
* Regenerating 03-disable-auto-update.patch.
* Updating 04-no-qt-translations.patch.
* Removing 05-fix-mercurial-revision.patch, included upstream.
* Updating copyright file to match source code changes.
* Updating rules file to reflect new changelog location.
* Removing no longer used lintian-override.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
bool getDiskFreeSpace(const QString &path, quint64 &freeBytes);
19
19
 
 
20
QKeySequence filterLocaleShortcut(QKeySequence ks);
 
21
 
20
22
QChar getPathListSeparator();
21
23
QStringList splitPaths(const QString &paths);
22
24
 
48
50
QString getRelativeBaseNameToPath(const QString & file, QString basepath, bool baseFile=false, bool keepSuffix=false);
49
51
QString getPathfromFilename(const QString &compFile);
50
52
QString findAbsoluteFilePath(const QString & relName, const QString &extension, const QStringList &searchPaths, const QString& fallbackPath);
 
53
QString getNonextistentFilename(const QString &guess, const QString &fallback=QString());
51
54
 
52
55
QString getEnvironmentPath();
53
56
QStringList getEnvironmentPathList();
54
57
void updatePathSettings(QProcess* proc, QString additionalPaths);
55
58
 
 
59
QString getTerminalCommand();
 
60
 
56
61
//returns kde version 0,3,4
57
62
int x11desktop_env();
58
63
 
63
68
 
64
69
bool connectUnique(const QObject * sender, const char * signal, const QObject * receiver, const char * method);
65
70
 
 
71
QStringList envKeys(const QProcessEnvironment &env);
 
72
 
66
73
QString execCommand(const QString & cmd);
67
74
 
68
75
class ThreadBreaker : public QThread