summaryrefslogtreecommitdiff
authorcniehaus <cniehaus>2002-12-27 13:33:27 (UTC)
committer cniehaus <cniehaus>2002-12-27 13:33:27 (UTC)
commit349cf38c38899d4693e83061d52c847e032335db (patch) (side-by-side diff)
tree8d884df0cf30a4112af2696becb0ceb9c15f89bb
parent82f3cfdb20c54f014a5bdb515ba1693945d8b421 (diff)
downloadopie-349cf38c38899d4693e83061d52c847e032335db.zip
opie-349cf38c38899d4693e83061d52c847e032335db.tar.gz
opie-349cf38c38899d4693e83061d52c847e032335db.tar.bz2
fix typo
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie/odevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie/odevice.cpp b/libopie/odevice.cpp
index 0e620ba..d39d72f 100644
--- a/libopie/odevice.cpp
+++ b/libopie/odevice.cpp
@@ -223,51 +223,51 @@ ODevice *ODevice::inst ( )
else
dev = new ODevice ( );
dev-> init ( );
}
return dev;
}
/**************************************************
*
* common
*
**************************************************/
ODevice::ODevice ( )
{
d = new ODeviceData;
d-> m_qwsserver = qApp ? ( qApp-> type ( ) == QApplication::GuiServer ) : false;
d-> m_modelstr = "Unknown";
d-> m_model = Model_Unknown;
- d-> m_vendorstr = "Unkown";
+ d-> m_vendorstr = "Unknown";
d-> m_vendor = Vendor_Unknown;
- d-> m_systemstr = "Unkown";
+ d-> m_systemstr = "Unknown";
d-> m_system = System_Unknown;
d-> m_sysverstr = "0.0";
d-> m_holdtime = 1000; // 1000ms
QCopChannel *sysch = new QCopChannel ( "QPE/System", this );
connect ( sysch, SIGNAL( received( const QCString &, const QByteArray & )), this, SLOT( systemMessage ( const QCString &, const QByteArray & )));
}
void ODevice::systemMessage ( const QCString &msg, const QByteArray & )
{
if ( msg == "deviceButtonMappingChanged()" ) {
reloadButtonMapping ( );
}
}
void ODevice::init ( )
{
// Simulation uses iPAQ 3660 device buttons
for ( uint i = 0; i < ( sizeof( ipaq_buttons ) / sizeof( i_button )); i++ ) {
i_button *ib = ipaq_buttons + i;
ODeviceButton b;