diff options
Diffstat (limited to 'languages/sql/sqlconfigwidget.ui.h')
-rw-r--r-- | languages/sql/sqlconfigwidget.ui.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/languages/sql/sqlconfigwidget.ui.h b/languages/sql/sqlconfigwidget.ui.h index b7725a49..877c1569 100644 --- a/languages/sql/sqlconfigwidget.ui.h +++ b/languages/sql/sqlconfigwidget.ui.h @@ -2,7 +2,7 @@ ** ui.h extension file, included from the uic-generated form implementation. ** ** If you wish to add, delete or rename functions or slots use -** Qt Designer which will update this file, preserving your code. Create an +** TQt Designer which will update this file, preserving your code. Create an ** init() function in place of a constructor, and a destroy() function in ** place of a destructor. *****************************************************************************/ @@ -22,10 +22,10 @@ #include "sqlsupport_part.h" // displays a ComboBox on edit to let the user choose the plugin -class PluginTableItem: public QTableItem +class PluginTableItem: public TQTableItem { public: - PluginTableItem( TQTable* table, const TQString& text = TQString::null ): TQTableItem( table, TQTableItem::OnTyping, text ) {} + PluginTableItem( TQTable* table, const TQString& text = TQString() ): TQTableItem( table, TQTableItem::OnTyping, text ) {} virtual TQWidget* createEditor() const { @@ -46,10 +46,10 @@ public: }; // uses a spinbox to let the user choose the port -class PortTableItem: public QTableItem +class PortTableItem: public TQTableItem { public: - PortTableItem( TQTable* table, const TQString& text = TQString::null ): TQTableItem( table, TQTableItem::OnTyping, text ) {} + PortTableItem( TQTable* table, const TQString& text = TQString() ): TQTableItem( table, TQTableItem::OnTyping, text ) {} virtual TQWidget* createEditor() const { @@ -70,10 +70,10 @@ public: }; // uses a spinbox to let the user choose the port -class PasswordTableItem: public QTableItem +class PasswordTableItem: public TQTableItem { public: - PasswordTableItem( TQTable* table, const TQString& text = TQString::null ): TQTableItem( table, TQTableItem::OnTyping, text ) {} + PasswordTableItem( TQTable* table, const TQString& text = TQString() ): TQTableItem( table, TQTableItem::OnTyping, text ) {} virtual TQWidget* createEditor() const { @@ -203,7 +203,7 @@ void SqlConfigWidget::accept() db << dbTable->text( i, 0 ) << dbTable->text( i, 1 ) << dbTable->text( i, 2 ) << dbTable->text( i, 3 ) << dbTable->text( i, 4 ) - << SQLSupportPart::cryptStr( ((PasswordTableItem*)dbTable->item( i, 5 ))->password ); + << STQLSupportPart::cryptStr( ((PasswordTableItem*)dbTable->item( i, 5 ))->password ); DomUtil::writeListEntry( *doc, "/kdevsqlsupport/servers/server" + TQString::number( i ), @@ -235,7 +235,7 @@ void SqlConfigWidget::loadConfig() int row = dbTable->numRows() - 2; for ( int ii = 0; ii < 6; ii++ ) dbTable->setText( row, ii, db[ii] ); - ((PasswordTableItem*)dbTable->item( row, 5 ))->password = SQLSupportPart::cryptStr( db[5] ); + ((PasswordTableItem*)dbTable->item( row, 5 ))->password = STQLSupportPart::cryptStr( db[5] ); i++; } |