summaryrefslogtreecommitdiff
path: root/library/qpeapplication.h
authorzecke <zecke>2003-08-29 18:04:43 (UTC)
committer zecke <zecke>2003-08-29 18:04:43 (UTC)
commit18cae99f1deb15213074a8fb96f79eae4b0c5a43 (patch) (side-by-side diff)
tree1dc5c46deef1558b8cca0fd716c3a154c6eb6ac8 /library/qpeapplication.h
parent885c645ee48ae53467e244521c011c73bc106afb (diff)
downloadopie-18cae99f1deb15213074a8fb96f79eae4b0c5a43.zip
opie-18cae99f1deb15213074a8fb96f79eae4b0c5a43.tar.gz
opie-18cae99f1deb15213074a8fb96f79eae4b0c5a43.tar.bz2
Patch provided by mithro
I've included 2 patches need to make opie support on the fly screen resolution changing. This is done with the following, qcop "QPE/System" "setCurrentMode(int,int,int)" 480 640 16 This is good for running applications in compatibility mode on the C700. As you can see there isn't much to these patches.
Diffstat (limited to 'library/qpeapplication.h') (more/less context) (ignore whitespace changes)
-rw-r--r--library/qpeapplication.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/qpeapplication.h b/library/qpeapplication.h
index 343e0b9..42810e8 100644
--- a/library/qpeapplication.h
+++ b/library/qpeapplication.h
@@ -48,9 +48,11 @@ public:
static QString qpeDir();
static QString documentDir();
void applyStyle();
+ void reset();
static int defaultRotation();
static void setDefaultRotation(int r);
static void setCurrentRotation(int r);
+ static void setCurrentMode(int x, int y, int depth );
static void grabKeyboard();
static void ungrabKeyboard();