summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindings/sql_imp.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
commite63beeb5bdb82987b1e00bc35178667786fbad48 (patch)
treeab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kjsembed/bindings/sql_imp.h
parent67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff)
downloadtdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz
tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip
Fix incorrect conversion
Diffstat (limited to 'kjsembed/bindings/sql_imp.h')
-rw-r--r--kjsembed/bindings/sql_imp.h74
1 files changed, 37 insertions, 37 deletions
diff --git a/kjsembed/bindings/sql_imp.h b/kjsembed/bindings/sql_imp.h
index c99558f8..950ef156 100644
--- a/kjsembed/bindings/sql_imp.h
+++ b/kjsembed/bindings/sql_imp.h
@@ -28,7 +28,7 @@ namespace KJSEmbed {
namespace Bindings {
/**
- * TTQObject Binding for TQSQLQuery.
+ * TQObject Binding for TQSQLQuery.
*
* @author Ian Reinhart Geiser, geiseri@kde.org
* @version $Id$
@@ -42,17 +42,17 @@ class SqlQuery : public BindingObject
Q_PROPERTY( bool select READ isSelect)
Q_PROPERTY( bool valid READ isValid)
Q_PROPERTY( bool active READ isActive)
- Q_PROPERTY( TTQString lastError READ lastError)
- Q_PROPERTY( TTQString lastQuery READ lastQuery)
+ Q_PROPERTY( TQString lastError READ lastError)
+ Q_PROPERTY( TQString lastQuery READ lastQuery)
public:
- SqlQuery( TTQObject *parent=0, const char *name=0 );
- SqlQuery( TTQObject *parent, const char *name, const TTQSqlQuery &q );
+ SqlQuery( TQObject *parent=0, const char *name=0 );
+ SqlQuery( TQObject *parent, const char *name, const TQSqlQuery &q );
//SqlQuery( const SqlQuery &copy);
virtual ~SqlQuery();
- TTQSqlQuery query(){ return m_query; }
- void setQuery(const TTQSqlQuery &q) {m_query = TTQSqlQuery(q); }
+ TQSqlQuery query(){ return m_query; }
+ void setQuery(const TQSqlQuery &q) {m_query = TQSqlQuery(q); }
int size () const;
bool isSelect () const;
@@ -60,16 +60,16 @@ public:
bool isActive () const;
int at () const;
int numRowsAffected () const;
- TTQString lastError () const;
- TTQString lastQuery () const;
+ TQString lastError () const;
+ TQString lastQuery () const;
public slots:
bool isNull ( int field );
- bool exec ( const TTQString & m_query );
- TTQVariant value ( int i );
+ bool exec ( const TQString & m_query );
+ TQVariant value ( int i );
bool seek ( int i, bool relative = FALSE );
bool next ();
bool prev ();
@@ -77,11 +77,11 @@ public slots:
bool last ();
private:
- TTQSqlQuery m_query;
+ TQSqlQuery m_query;
};
/**
- * TTQObject Binding for TQSQLDatabase.
+ * TQObject Binding for TQSQLDatabase.
*
* @author Ian Reinhart Geiser, geiseri@kde.org
* @version $Id$
@@ -89,49 +89,49 @@ private:
class SqlDatabase : public BindingObject
{
Q_OBJECT
- Q_PROPERTY( TTQString databaseName READ databaseName WRITE setDatabaseName)
- Q_PROPERTY( TTQString userName READ userName WRITE setUserName)
- Q_PROPERTY( TTQString password READ password WRITE setPassword)
- Q_PROPERTY( TTQString hostName READ hostName WRITE setHostName)
+ Q_PROPERTY( TQString databaseName READ databaseName WRITE setDatabaseName)
+ Q_PROPERTY( TQString userName READ userName WRITE setUserName)
+ Q_PROPERTY( TQString password READ password WRITE setPassword)
+ Q_PROPERTY( TQString hostName READ hostName WRITE setHostName)
Q_PROPERTY( int port READ port WRITE setPort)
- Q_PROPERTY( TTQString driverName READ driverName)
- Q_PROPERTY( TTQString lastError READ lastError)
+ Q_PROPERTY( TQString driverName READ driverName)
+ Q_PROPERTY( TQString lastError READ lastError)
public:
- SqlDatabase( TTQObject *parent=0, const char *name=0 );
+ SqlDatabase( TQObject *parent=0, const char *name=0 );
virtual ~SqlDatabase();
public slots:
- void setDatabaseName (const TTQString &name );
- void setUserName (const TTQString &name );
- void setPassword (const TTQString &password );
- void setHostName (const TTQString &host );
+ void setDatabaseName (const TQString &name );
+ void setUserName (const TQString &name );
+ void setPassword (const TQString &password );
+ void setHostName (const TQString &host );
void setPort ( int p );
- TTQString databaseName () const;
- TTQString userName () const;
- TTQString password () const;
- TTQString hostName () const;
+ TQString databaseName () const;
+ TQString userName () const;
+ TQString password () const;
+ TQString hostName () const;
int port () const;
- TTQString driverName () const;
+ TQString driverName () const;
- bool addDatabase ( const TTQString & type, const TTQString & connectionName = TTQSqlDatabase::defaultConnection );
- TTQStringList drivers ();
+ bool addDatabase ( const TQString & type, const TQString & connectionName = TQSqlDatabase::defaultConnection );
+ TQStringList drivers ();
bool open ();
- bool open ( const TTQString &user, const TTQString &password );
+ bool open ( const TQString &user, const TQString &password );
void close ();
bool isOpen ();
bool isOpenError ();
- TTQStringList tables ();
- SqlQuery *exec( const TTQString &query );
- TTQString lastError () const;
+ TQStringList tables ();
+ SqlQuery *exec( const TQString &query );
+ TQString lastError () const;
bool transaction ();
bool commit ();
bool rollback ();
private:
- TTQString connectionName;
- //TTQSqlDatabase *db;
+ TQString connectionName;
+ //TQSqlDatabase *db;
};