summaryrefslogtreecommitdiffstats
path: root/kabc/plugins/sql/resourcesqlconfig.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kabc/plugins/sql/resourcesqlconfig.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc/plugins/sql/resourcesqlconfig.cpp')
-rw-r--r--kabc/plugins/sql/resourcesqlconfig.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kabc/plugins/sql/resourcesqlconfig.cpp b/kabc/plugins/sql/resourcesqlconfig.cpp
index d9abffa30..ef1651cde 100644
--- a/kabc/plugins/sql/resourcesqlconfig.cpp
+++ b/kabc/plugins/sql/resourcesqlconfig.cpp
@@ -18,10 +18,10 @@
Boston, MA 02110-1301, USA.
*/
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qvbox.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqspinbox.h>
+#include <tqvbox.h>
#include <klineedit.h>
#include <klocale.h>
@@ -31,43 +31,43 @@
using namespace KABC;
-ResourceSqlConfig::ResourceSqlConfig( QWidget* parent, const char* name )
+ResourceSqlConfig::ResourceSqlConfig( TQWidget* parent, const char* name )
: ResourceConfigWidget( parent, name )
{
resize( 290, 170 );
- QGridLayout *mainLayout = new QGridLayout( this, 4, 2 );
+ TQGridLayout *mainLayout = new TQGridLayout( this, 4, 2 );
- QLabel *label = new QLabel( i18n( "Username:" ), this );
+ TQLabel *label = new TQLabel( i18n( "Username:" ), this );
mUser = new KLineEdit( this );
mainLayout->addWidget( label, 0, 0 );
mainLayout->addWidget( mUser, 0, 1 );
- label = new QLabel( i18n( "Password:" ), this );
+ label = new TQLabel( i18n( "Password:" ), this );
mPassword = new KLineEdit( this );
mPassword->setEchoMode( KLineEdit::Password );
mainLayout->addWidget( label, 1, 0 );
mainLayout->addWidget( mPassword, 1, 1 );
- label = new QLabel( i18n( "Host:" ), this );
+ label = new TQLabel( i18n( "Host:" ), this );
mHost = new KLineEdit( this );
mainLayout->addWidget( label, 2, 0 );
mainLayout->addWidget( mHost, 2, 1 );
- label = new QLabel( i18n( "Port:" ), this );
- QVBox *box = new QVBox(this);
- mPort = new QSpinBox(0, 65535, 1, box );
- mPort->setSizePolicy(QSizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred));
+ label = new TQLabel( i18n( "Port:" ), this );
+ TQVBox *box = new TQVBox(this);
+ mPort = new TQSpinBox(0, 65535, 1, box );
+ mPort->setSizePolicy(TQSizePolicy(TQSizePolicy::Maximum, TQSizePolicy::Preferred));
mPort->setValue(389);
- new QWidget(box, "dummy");
+ new TQWidget(box, "dummy");
mainLayout->addWidget( label, 3, 0 );
mainLayout->addWidget( box, 3, 1 );
- label = new QLabel( i18n( "Database:" ), this );
+ label = new TQLabel( i18n( "Database:" ), this );
mDbName = new KLineEdit( this );
mainLayout->addWidget( label, 4, 0 );