author | harlekin <harlekin> | 2003-03-28 20:15:42 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-03-28 20:15:42 (UTC) |
commit | 5bc894df5dcd8ec35e2182ca4ad0494d6408f754 (patch) (side-by-side diff) | |
tree | 9fc09017134e2795d882ff2af1c0f7cf6c40f97b /core | |
parent | fffa0df4d2cf54b2263172a3dcaa6b7611ba1eef (diff) | |
download | opie-5bc894df5dcd8ec35e2182ca4ad0494d6408f754.zip opie-5bc894df5dcd8ec35e2182ca4ad0494d6408f754.tar.gz opie-5bc894df5dcd8ec35e2182ca4ad0494d6408f754.tar.bz2 |
now as owait in libopie
-rw-r--r-- | core/launcher/launcher.pro | 2 | ||||
-rw-r--r-- | core/launcher/wait.cpp | 2 | ||||
-rw-r--r-- | core/launcher/wait.h | 4 | ||||
-rw-r--r-- | core/launcher/waitpopup.cpp | 23 | ||||
-rw-r--r-- | core/launcher/waitpopup.h | 14 |
5 files changed, 4 insertions, 41 deletions
diff --git a/core/launcher/launcher.pro b/core/launcher/launcher.pro index a876d1d..d0a573b 100644 --- a/core/launcher/launcher.pro +++ b/core/launcher/launcher.pro @@ -14,7 +14,6 @@ HEADERS = background.h \ inputmethods.h \ systray.h \ wait.h \ - waitpopup.h \ shutdownimpl.h \ launcher.h \ launcherview.h \ @@ -56,7 +55,6 @@ SOURCES = background.cpp \ inputmethods.cpp \ systray.cpp \ wait.cpp \ - waitpopup.cpp \ shutdownimpl.cpp \ launcher.cpp \ launcherview.cpp \ diff --git a/core/launcher/wait.cpp b/core/launcher/wait.cpp index e1832dd..d202d26 100644 --- a/core/launcher/wait.cpp +++ b/core/launcher/wait.cpp @@ -36,7 +36,7 @@ Wait::Wait( QWidget *parent ) : QWidget( parent ), { setFixedSize( pm.size() ); lastWaitObject = this; - centralWait = new WaitPopup( 0L ); + centralWait = new OWait( 0L ); centralWait->hide(); hide(); } diff --git a/core/launcher/wait.h b/core/launcher/wait.h index 6e5e41a..6a087ec 100644 --- a/core/launcher/wait.h +++ b/core/launcher/wait.h @@ -21,6 +21,8 @@ #ifndef __WAIT_H__ #define __WAIT_H__ +#include <opie/owait.h> + #include <qpe/resource.h> #include <qwidget.h> @@ -37,7 +39,7 @@ public: void paintEvent( QPaintEvent * ); static Wait *getWaitObject(); private: - WaitPopup* centralWait; + OWait* centralWait; QPixmap pm; bool waiting; }; diff --git a/core/launcher/waitpopup.cpp b/core/launcher/waitpopup.cpp deleted file mode 100644 index e488ab5..0000000 --- a/core/launcher/waitpopup.cpp +++ b/dev/null @@ -1,23 +0,0 @@ -#include <qlabel.h> -#include <qlayout.h> -#include <qtimer.h> -#include <qmovie.h> - -#include "waitpopup.h" -#include <qpe/resource.h> - - -WaitPopup::WaitPopup(QWidget *parent, const char* msg, bool dispIcon ) - :QDialog(parent, QObject::tr("Wait"), TRUE,WStyle_Customize) { - QHBoxLayout *hbox = new QHBoxLayout( this ); - QLabel *lb; - lb = new QLabel( this ); - //lb->setMovie( QMovie( "./wait.gif" , 200) ); - lb->setPixmap( Resource::loadPixmap( "Clock" ) ); - lb->setBackgroundMode ( NoBackground ); - hbox->addWidget( lb ); - hbox->activate(); -} - -WaitPopup::~WaitPopup() { -} diff --git a/core/launcher/waitpopup.h b/core/launcher/waitpopup.h deleted file mode 100644 index 76f0c27..0000000 --- a/core/launcher/waitpopup.h +++ b/dev/null @@ -1,14 +0,0 @@ -#ifndef WAITPOPUP_H -#define WAITPOPUP_H - -#include <qdialog.h> - -class WaitPopup : public QDialog { - Q_OBJECT - -public: - WaitPopup(QWidget *parent=0,const char* msg=0,bool dispIcon=TRUE); - ~WaitPopup(); -}; - -#endif |