00001 #include "osqlerror.h" 00002 00003 using namespace Opie::DB; 00004 00005 OSQLError::OSQLError( const QString& driverText, 00006 const QString& driverDatabaseText, 00007 int type, int subType ) 00008 : m_drvText( driverText ), m_drvDBText( driverDatabaseText ), 00009 m_type( type ), m_number( subType ) 00010 { 00011 } 00012 OSQLError::~OSQLError() { 00013 } 00014 QString OSQLError::driverText()const { 00015 return m_drvText; 00016 } 00017 QString OSQLError::databaseText()const { 00018 return m_drvDBText; 00019 } 00020 int OSQLError::type()const { 00021 return m_type; 00022 } 00023 int OSQLError::subNumber()const { 00024 return m_number; 00025 }
1.4.2