summaryrefslogtreecommitdiff
path: root/libslcompat/slmisc.h
Side-by-side diff
Diffstat (limited to 'libslcompat/slmisc.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libslcompat/slmisc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libslcompat/slmisc.h b/libslcompat/slmisc.h
index 20ba988..442b098 100644
--- a/libslcompat/slmisc.h
+++ b/libslcompat/slmisc.h
@@ -5,49 +5,49 @@
#define _SLMISC_H_INCLUDED
#include <qpe/qpeapplication.h>
#include <qfileinfo.h>
#include <qpe/global.h>
#include <qmessagebox.h>
#define _SLPOWER
class QPopupMenu;
class QListView;
#if !defined(_SLPOWER)
class PowerStatus;
#else
class SlPowerStatus;
#endif
class Config;
typedef ulong SlResolutionScale;
class SlMisc {
public:
static bool isExecutable(const QString &c) {
- QFileInfo exec(QPEApplication::qpeDir() + "/bin/" + c);
+ QFileInfo exec(QPEApplication::qpeDir() + "bin/" + c);
return exec.isExecutable();
};
static ulong availableMemory();
static bool invalidFileName(QString &fName);
static QString getValidFileName(const QString &baseName);
static QString getCanonicalPath(const QString &fName);
static void enableAutoPowerOff(bool isOn);
static void enableAutoPowerOff(bool isOn,bool DimAlso,bool ScreenSaverAlso=FALSE);
static void enableLockApplication(bool);
static bool isTheSmbShareFileHasWriteEntry(const QString &shareFName);
static bool isTheSmbShareFileNowCopy(const QString &shareFName);
static bool checkTheSmbShareFileMode(const QString &shareFName,
char modeMask, char checkMode, bool equality);
static bool isTheFileLockedBySmbd(const QString &fName);
static bool isSambaForked();
static void startSamba();
static void stopSamba();
enum ListType { Pid, CmdLine, Both };
static QStringList procList (const QRegExp& re, uint max = 0, enum ListType type = Pid);
static void dumpMemInfo(bool isShowHeap);
static bool canCreateTheFile(const QString&);
static QString getLanguage();
static QSize getMaximizedWidgetInfo();
static QSize SlMisc::getScrollbarMetrics();