summaryrefslogtreecommitdiff
path: root/core/applets/vmemo/vmemo.cpp
Unidiff
Diffstat (limited to 'core/applets/vmemo/vmemo.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/vmemo/vmemo.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp
index 27f6015..7dd5b4b 100644
--- a/core/applets/vmemo/vmemo.cpp
+++ b/core/applets/vmemo/vmemo.cpp
@@ -190,12 +190,13 @@ static char * vmemo_xpm[] = {
190 " Y Z ` b ...+. ", 190 " Y Z ` b ...+. ",
191 " @.#.$.%.&. ", 191 " @.#.$.%.&. ",
192 " *.B =. ", 192 " *.B =. ",
193 " n n n n n n n n n "}; 193 " n n n n n n n n n "};
194 194
195 195
196using namespace Opie::Ui;
196VMemo::VMemo( QWidget *parent, const char *_name ) 197VMemo::VMemo( QWidget *parent, const char *_name )
197 : QWidget( parent, _name ) { 198 : QWidget( parent, _name ) {
198 setFixedHeight( 18 ); 199 setFixedHeight( 18 );
199 setFixedWidth( 14 ); 200 setFixedWidth( 14 );
200 201
201 t_timer = new QTimer( this ); 202 t_timer = new QTimer( this );
@@ -635,11 +636,9 @@ int VMemo::setToggleButton(int tog) {
635void VMemo::timerBreak() { 636void VMemo::timerBreak() {
636 //stop 637 //stop
637 stopRecording(); 638 stopRecording();
638 QMessageBox::message("Vmemo","Vmemo recording has ended"); 639 QMessageBox::message("Vmemo","Vmemo recording has ended");
639} 640}
640 641
641Q_EXPORT_INTERFACE() 642
642{ 643EXPORT_OPIE_APPLET_v1( VMemo )
643 Q_CREATE_INSTANCE( OTaskbarAppletWrapper<VMemo> );
644}
645 644