Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorvald Natvig <slicer@users.sourceforge.net>2007-07-18 03:12:38 +0400
committerThorvald Natvig <slicer@users.sourceforge.net>2007-07-18 03:12:38 +0400
commit1b265ffa8c28e2cd72419dce4e6536a8c01aa8ec (patch)
treeab0df84081ff0f3f269920beedb84f4ec2ad334f /src/mumble/GlobalShortcut_unix.h
parentd9ca67edda65faffd1d7e8bd0088d93d10852cf8 (diff)
reindenting all the code
git-svn-id: https://mumble.svn.sourceforge.net/svnroot/mumble/trunk@622 05730e5d-ab1b-0410-a4ac-84af385074fa
Diffstat (limited to 'src/mumble/GlobalShortcut_unix.h')
-rw-r--r--src/mumble/GlobalShortcut_unix.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mumble/GlobalShortcut_unix.h b/src/mumble/GlobalShortcut_unix.h
index 4ee5a18a1..8794eca22 100644
--- a/src/mumble/GlobalShortcut_unix.h
+++ b/src/mumble/GlobalShortcut_unix.h
@@ -34,14 +34,14 @@
typedef QPair<int, unsigned int> qpButton;
struct Shortcut {
- GlobalShortcut *gs;
- int iNumDown;
- bool bActive;
- QList<int> qlButtons;
+ GlobalShortcut *gs;
+ int iNumDown;
+ bool bActive;
+ QList<int> qlButtons;
};
class XInputKeyWidget : public QLineEdit {
- Q_OBJECT
+ Q_OBJECT
protected:
virtual void focusInEvent(QFocusEvent *event);
virtual void focusOutEvent(QFocusEvent *event);
@@ -52,12 +52,12 @@ class XInputKeyWidget : public QLineEdit {
XInputKeyWidget(QWidget *p = NULL);
void setShortcut(GlobalShortcut *gs);
public slots:
- void setButton(bool);
+ void setButton(bool);
void displayKeys();
};
class GlobalShortcutXConfig : public ConfigWidget {
- Q_OBJECT
+ Q_OBJECT
protected:
QHash<GlobalShortcut *,XInputKeyWidget *> qhKeys;
public:
@@ -69,9 +69,9 @@ class GlobalShortcutXConfig : public ConfigWidget {
};
class GlobalShortcutX : public QThread {
- Q_OBJECT
+ Q_OBJECT
public:
- Display *display;
+ Display *display;
int ref;
bool bRunning;
bool activeMap[256];
@@ -93,6 +93,6 @@ class GlobalShortcutX : public QThread {
void add(GlobalShortcut *);
void remove(GlobalShortcut *);
QList<int> getCurrentButtons();
- signals:
+ signals:
void buttonPressed(bool);
};