summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-02-09 02:39:31 (UTC)
committer llornkcor <llornkcor>2002-02-09 02:39:31 (UTC)
commitb440f07b1f20877618e33248a65bf069150d72c4 (patch) (unidiff)
tree3da94d49fdf05f464e797b83545bb4f7b6c90253
parenteca8d68c7cbc82b11879f03e0b6b4a5894cbe435 (diff)
downloadopie-b440f07b1f20877618e33248a65bf069150d72c4.zip
opie-b440f07b1f20877618e33248a65bf069150d72c4.tar.gz
opie-b440f07b1f20877618e33248a65bf069150d72c4.tar.bz2
whoops.. took out a few volume references
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/screenshotapplet/screenshotapplet.pro4
-rw-r--r--core/applets/screenshotapplet/screenshotappletimpl.cpp10
-rw-r--r--core/applets/screenshotapplet/screenshotappletimpl.h2
3 files changed, 8 insertions, 8 deletions
diff --git a/core/applets/screenshotapplet/screenshotapplet.pro b/core/applets/screenshotapplet/screenshotapplet.pro
index 095cce2..bec49b7 100644
--- a/core/applets/screenshotapplet/screenshotapplet.pro
+++ b/core/applets/screenshotapplet/screenshotapplet.pro
@@ -1,13 +1,13 @@
1TEMPLATE = lib 1TEMPLATE = lib
2CONFIG += qt warn_on release 2CONFIG += qt warn_on release
3HEADERS = screenshot.h screenshotappletimpl.h 3HEADERS = screenshot.h screenshotappletimpl.h
4SOURCES = screenshot.cpp screenshotappletimpl.cpp 4SOURCES = screenshot.cpp screenshotappletimpl.cpp
5TARGET = screenshotapplet 5TARGET = screenshotapplet
6DESTDIR = ../../plugins/applets 6DESTDIR = ../../plugins/applets
7INCLUDEPATH += $(OPIEDIR)/include 7INCLUDEPATH += $(QPEDIR)/include
8DEPENDPATH += ../$(OPIEDIR)/include 8DEPENDPATH += ../$(QPEDIR)/include
9LIBS += -lqpe 9LIBS += -lqpe
10VERSION = 1.0.0 10VERSION = 1.0.0
11MOC_DIR=opieobj 11MOC_DIR=opieobj
12OBJECTS_DIR=opieobj 12OBJECTS_DIR=opieobj
13 13
diff --git a/core/applets/screenshotapplet/screenshotappletimpl.cpp b/core/applets/screenshotapplet/screenshotappletimpl.cpp
index f1a9827..a537162 100644
--- a/core/applets/screenshotapplet/screenshotappletimpl.cpp
+++ b/core/applets/screenshotapplet/screenshotappletimpl.cpp
@@ -19,26 +19,26 @@
19**********************************************************************/ 19**********************************************************************/
20#include "screenshot.h" 20#include "screenshot.h"
21#include "screenshotappletimpl.h" 21#include "screenshotappletimpl.h"
22 22
23 23
24ScreenshotAppletImpl::ScreenshotAppletImpl() 24ScreenshotAppletImpl::ScreenshotAppletImpl()
25 : volume(0), ref(0) 25 : screenshot(0), ref(0)
26{ 26{
27} 27}
28 28
29ScreenshotAppletImpl::~ScreenshotAppletImpl() 29ScreenshotAppletImpl::~ScreenshotAppletImpl()
30{ 30{
31 delete volume; 31 delete screenshot;
32} 32}
33 33
34QWidget *ScreenshotAppletImpl::applet( QWidget *parent ) 34QWidget *ScreenshotAppletImpl::applet( QWidget *parent )
35{ 35{
36 if ( !volume ) 36 if ( !screenshot )
37 volume = new ScreenshotApplet( parent ); 37 screenshot = new ScreenshotApplet( parent );
38 return volume; 38 return screenshot;
39} 39}
40 40
41int ScreenshotAppletImpl::position() const 41int ScreenshotAppletImpl::position() const
42{ 42{
43 return 6; 43 return 6;
44} 44}
diff --git a/core/applets/screenshotapplet/screenshotappletimpl.h b/core/applets/screenshotapplet/screenshotappletimpl.h
index deca7a9..00661a5 100644
--- a/core/applets/screenshotapplet/screenshotappletimpl.h
+++ b/core/applets/screenshotapplet/screenshotappletimpl.h
@@ -34,11 +34,11 @@ public:
34 Q_REFCOUNT 34 Q_REFCOUNT
35 35
36 virtual QWidget *applet( QWidget *parent ); 36 virtual QWidget *applet( QWidget *parent );
37 virtual int position() const; 37 virtual int position() const;
38 38
39private: 39private:
40 ScreenshotApplet *volume; 40 ScreenshotApplet *screenshot;
41 ulong ref; 41 ulong ref;
42}; 42};
43 43
44#endif 44#endif