summaryrefslogtreecommitdiff
path: root/libopie2/opiedb/osqlerror.cpp
blob: 165ba655b99cf618592ef317a14e5990befb3021 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "osqlerror.h"

using namespace Opie::DB;

OSQLError::OSQLError( const QString& driverText,
                      const QString& driverDatabaseText,
                      int type, int subType )
    : m_drvText( driverText ), m_drvDBText( driverDatabaseText ),
      m_type( type ), m_number( subType )
{
}
OSQLError::~OSQLError() {
}
QString OSQLError::driverText()const {
    return m_drvText;
}
QString OSQLError::databaseText()const {
    return m_drvDBText;
}
int OSQLError::type()const {
    return m_type;
}
int OSQLError::subNumber()const {
    return m_number;
}