summaryrefslogtreecommitdiff
path: root/libopie
authorchicken <chicken>2003-10-24 14:01:23 (UTC)
committer chicken <chicken>2003-10-24 14:01:23 (UTC)
commit96a577bb03db6ccbf1a10b03116d3b868233df0e (patch) (unidiff)
treeda9ed9231f12c2538a4e8e24bd5e325bc22b90fe /libopie
parenta9eddd4cd428dd844d8693e98e4df8e365e75da8 (diff)
downloadopie-96a577bb03db6ccbf1a10b03116d3b868233df0e.zip
opie-96a577bb03db6ccbf1a10b03116d3b868233df0e.tar.gz
opie-96a577bb03db6ccbf1a10b03116d3b868233df0e.tar.bz2
even more Jornada 56X updates
Diffstat (limited to 'libopie') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/odevice.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp
index 8624016..13b4330 100644
--- a/libopie/odevice.cpp
+++ b/libopie/odevice.cpp
@@ -2501,14 +2501,25 @@ void Jornada::init ( )
2501 d-> m_vendor = Vendor_HP; 2501 d-> m_vendor = Vendor_HP;
2502 d-> m_modelstr = "Jornada 56x"; 2502 d-> m_modelstr = "Jornada 56x";
2503 d-> m_model = Model_Jornada_56x; 2503 d-> m_model = Model_Jornada_56x;
2504 d-> m_systemstr = "Familiar"; 2504 d-> m_systemstr = "Familiar";
2505 d-> m_system = System_Familiar; 2505 d-> m_system = System_Familiar;
2506 d-> m_rotation = Rot0; 2506 d-> m_rotation = Rot0;
2507
2508 QFile f ( "/etc/familiar-version" );
2509 f. setName ( "/etc/familiar-version" );
2510 if ( f. open ( IO_ReadOnly )) {
2511
2512 QTextStream ts ( &f );
2513 d-> m_sysverstr = ts. readLine ( ). mid ( 10 );
2514
2515 f. close ( );
2516 }
2507} 2517}
2508 2518
2519
2509void Jornada::initButtons ( ) 2520void Jornada::initButtons ( )
2510{ 2521{
2511 if ( d-> m_buttons ) 2522 if ( d-> m_buttons )
2512 return; 2523 return;
2513 2524
2514 // Simulation uses iPAQ 3660 device buttons 2525 // Simulation uses iPAQ 3660 device buttons