summaryrefslogtreecommitdiff
authorzecke <zecke>2004-03-14 18:16:11 (UTC)
committer zecke <zecke>2004-03-14 18:16:11 (UTC)
commit105a35c8e6f2ea63a074f9eb94336b6cbe065b04 (patch) (unidiff)
tree1756a1a026335b9767dd120285a4ebfee11e25a7
parent9e54b8bd8343af7c301da17d82596d6027e53309 (diff)
downloadopie-105a35c8e6f2ea63a074f9eb94336b6cbe065b04.zip
opie-105a35c8e6f2ea63a074f9eb94336b6cbe065b04.tar.gz
opie-105a35c8e6f2ea63a074f9eb94336b6cbe065b04.tar.bz2
Convert to ODP
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/opie-login/config.in2
-rw-r--r--core/opie-login/loginwindowimpl.cpp26
-rw-r--r--core/opie-login/main.cpp10
3 files changed, 19 insertions, 19 deletions
diff --git a/core/opie-login/config.in b/core/opie-login/config.in
index 339b589..a71319c 100644
--- a/core/opie-login/config.in
+++ b/core/opie-login/config.in
@@ -3,2 +3,2 @@
3 default "y" 3 default "y"
4 depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE 4 depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIECORE2
diff --git a/core/opie-login/loginwindowimpl.cpp b/core/opie-login/loginwindowimpl.cpp
index e1b9360..32f98f3 100644
--- a/core/opie-login/loginwindowimpl.cpp
+++ b/core/opie-login/loginwindowimpl.cpp
@@ -44,3 +44,3 @@
44 44
45#include <opie/odevice.h> 45#include <opie2/odevice.h>
46 46
@@ -53,3 +53,3 @@
53 53
54using namespace Opie; 54using namespace Opie::Core;
55 55
@@ -64,3 +64,3 @@ LoginWindowImpl::LoginWindowImpl ( ) : LoginWindow ( 0, "LOGIN-WINDOW", WStyle_C
64 QCopChannel *channel = new QCopChannel ( "QPE/TaskBar", this ); 64 QCopChannel *channel = new QCopChannel ( "QPE/TaskBar", this );
65 connect ( channel, SIGNAL( received(const QCString&,const QByteArray&)), this, SLOT( receive(const QCString&,const QByteArray&))); 65 connect ( channel, SIGNAL( received(const QCString&,const QByteArray&)), this, SLOT( receive(const QCString&,const QByteArray&)));
66 66
@@ -76,7 +76,7 @@ LoginWindowImpl::LoginWindowImpl ( ) : LoginWindow ( 0, "LOGIN-WINDOW", WStyle_C
76 m_user-> insertStringList ( lApp-> allUsers ( )); 76 m_user-> insertStringList ( lApp-> allUsers ( ));
77 77
78 //there is no point in displaying the IM for a zaurus 78 //there is no point in displaying the IM for a zaurus
79 if (ODevice::inst ( )-> series ( ) != Model_Zaurus){ 79 if (ODevice::inst ( )-> series ( ) != Model_Zaurus){
80 QTimer::singleShot ( 0, this, SLOT( showIM())); 80 QTimer::singleShot ( 0, this, SLOT( showIM()));
81 } 81 }
82 82
@@ -90,4 +90,4 @@ LoginWindowImpl::LoginWindowImpl ( ) : LoginWindow ( 0, "LOGIN-WINDOW", WStyle_C
90 TextLabel2-> setBackgroundPixmap ( bgpix); 90 TextLabel2-> setBackgroundPixmap ( bgpix);
91 } 91 }
92 92
93 m_caption-> setText ( tr("<center>Welcome to OPIE %1</center><center>& %2 %3</center>"). arg(QPE_VERSION). arg ( ODevice::inst ( )-> systemString ( )). arg ( ODevice::inst ( )-> systemVersionString ( ))); 93 m_caption-> setText ( tr("<center>Welcome to OPIE %1</center><center>& %2 %3</center>"). arg(QPE_VERSION). arg ( ODevice::inst ( )-> systemString ( )). arg ( ODevice::inst ( )-> systemVersionString ( )));
@@ -100,3 +100,3 @@ LoginWindowImpl::LoginWindowImpl ( ) : LoginWindow ( 0, "LOGIN-WINDOW", WStyle_C
100 m_user-> setEditText ( last ); 100 m_user-> setEditText ( last );
101 101
102 calcMaxWindowRect ( ); 102 calcMaxWindowRect ( );
@@ -112,4 +112,4 @@ void LoginWindowImpl::receive ( const QCString &msg, const QByteArray &data )
112 QDataStream stream ( data, IO_ReadOnly ); 112 QDataStream stream ( data, IO_ReadOnly );
113 113
114 if ( msg == "hideInputMethod()" ) 114 if ( msg == "hideInputMethod()" )
115 m_input-> hideInputMethod ( ); 115 m_input-> hideInputMethod ( );
@@ -131,3 +131,3 @@ void LoginWindowImpl::calcMaxWindowRect ( )
131 wr.setCoords( 0, 0, displayWidth-1, m_taskbar->y()-1 ); 131 wr.setCoords( 0, 0, displayWidth-1, m_taskbar->y()-1 );
132 132
133#if QT_VERSION < 300 133#if QT_VERSION < 300
@@ -139,3 +139,3 @@ void LoginWindowImpl::calcMaxWindowRect ( )
139} 139}
140 140
141 141
diff --git a/core/opie-login/main.cpp b/core/opie-login/main.cpp
index 6aa7287..f0a8ba2 100644
--- a/core/opie-login/main.cpp
+++ b/core/opie-login/main.cpp
@@ -34,3 +34,3 @@
34#include <qpe/qpestyle.h> 34#include <qpe/qpestyle.h>
35#include <qpe/power.h> 35#include <qpe/power.h>
36#include <qpe/config.h> 36#include <qpe/config.h>
@@ -42,3 +42,3 @@
42#include <qtimer.h> 42#include <qtimer.h>
43#include <qfile.h> 43#include <qfile.h>
44 44
@@ -58,3 +58,3 @@
58 58
59using namespace Opie; 59using namespace Opie::Core;
60 60
@@ -190,3 +190,3 @@ int main ( int argc, char **argv )
190 } 190 }
191 191
192 if ( autolog && !userExited ) { 192 if ( autolog && !userExited ) {
@@ -198,3 +198,3 @@ int main ( int argc, char **argv )
198 LoginApplication::setLoginAs ( autolog ); 198 LoginApplication::setLoginAs ( autolog );
199 199
200 200