summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/galleryexport/galleryconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kipi-plugins/galleryexport/galleryconfig.cpp')
-rw-r--r--kipi-plugins/galleryexport/galleryconfig.cpp72
1 files changed, 36 insertions, 36 deletions
diff --git a/kipi-plugins/galleryexport/galleryconfig.cpp b/kipi-plugins/galleryexport/galleryconfig.cpp
index 65fd7f4..9fc79f4 100644
--- a/kipi-plugins/galleryexport/galleryconfig.cpp
+++ b/kipi-plugins/galleryexport/galleryconfig.cpp
@@ -17,18 +17,18 @@
*
* ============================================================ */
-// Include files for Qt
-
-#include <qlistview.h>
-#include <qpushbutton.h>
-#include <qtimer.h>
-#include <qpixmap.h>
-#include <qcursor.h>
-#include <qlineedit.h>
-#include <qprogressdialog.h>
-#include <qspinbox.h>
-#include <qcheckbox.h>
-#include <qlayout.h>
+// Include files for TQt
+
+#include <tqlistview.h>
+#include <tqpushbutton.h>
+#include <tqtimer.h>
+#include <tqpixmap.h>
+#include <tqcursor.h>
+#include <tqlineedit.h>
+#include <tqprogressdialog.h>
+#include <tqspinbox.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
// Include files for KDE
@@ -56,75 +56,75 @@
namespace KIPIGalleryExportPlugin
{
-GalleryEdit::GalleryEdit(QWidget* pParent,
+GalleryEdit::GalleryEdit(TQWidget* pParent,
Gallery* pGallery,
- QString title)
+ TQString title)
: KDialogBase(pParent, 0, true, title, Ok|Cancel, Ok, false),
mpGallery(pGallery)
{
setButtonGuiItem( Ok, KStdGuiItem::save() );
- QFrame *page = new QFrame (this);
- QHBoxLayout *tll = new QHBoxLayout(page);
+ TQFrame *page = new TQFrame (this);
+ TQHBoxLayout *tll = new TQHBoxLayout(page);
page->setMinimumSize (500, 200);
setMainWidget(page);
- QVBoxLayout* vbox = new QVBoxLayout();
+ TQVBoxLayout* vbox = new TQVBoxLayout();
vbox->setSpacing (KDialog::spacingHint());
tll->addItem(vbox);
- mpHeaderLabel = new QLabel(page);
- mpHeaderLabel->setSizePolicy(QSizePolicy(QSizePolicy::Minimum,
- QSizePolicy::Fixed));
+ mpHeaderLabel = new TQLabel(page);
+ mpHeaderLabel->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Minimum,
+ TQSizePolicy::Fixed));
mpHeaderLabel->setText(title);
vbox->addWidget(mpHeaderLabel);
- QFrame* hline = new QFrame(page, "hline");
- hline->setFrameShape(QFrame::HLine);
- hline->setFrameShadow(QFrame::Sunken);
- hline->setFrameShape(QFrame::HLine);
+ TQFrame* hline = new TQFrame(page, "hline");
+ hline->setFrameShape(TQFrame::HLine);
+ hline->setFrameShadow(TQFrame::Sunken);
+ hline->setFrameShape(TQFrame::HLine);
vbox->addWidget(hline);
- QGridLayout* centerLayout = new QGridLayout(0, 1, 1, 5, 5);
+ TQGridLayout* centerLayout = new TQGridLayout(0, 1, 1, 5, 5);
- mpNameEdit = new QLineEdit( this );
+ mpNameEdit = new TQLineEdit( this );
centerLayout->addWidget(mpNameEdit, 0, 1);
- mpUrlEdit = new QLineEdit( this );
+ mpUrlEdit = new TQLineEdit( this );
centerLayout->addWidget(mpUrlEdit, 1, 1);
- mpUsernameEdit = new QLineEdit( this );
+ mpUsernameEdit = new TQLineEdit( this );
centerLayout->addWidget(mpUsernameEdit, 2, 1);
- mpPasswordEdit = new QLineEdit( this );
- mpPasswordEdit->setEchoMode(QLineEdit::Password);
+ mpPasswordEdit = new TQLineEdit( this );
+ mpPasswordEdit->setEchoMode(TQLineEdit::Password);
centerLayout->addWidget(mpPasswordEdit, 3, 1);
- QLabel* name_label = new QLabel(this);
+ TQLabel* name_label = new TQLabel(this);
name_label->setText(i18n( "Name:" ));
centerLayout->addWidget(name_label, 0, 0);
- QLabel* urlLabel = new QLabel(this);
+ TQLabel* urlLabel = new TQLabel(this);
urlLabel->setText(i18n( "URL:" ));
centerLayout->addWidget(urlLabel, 1, 0);
- QLabel* nameLabel = new QLabel(this);
+ TQLabel* nameLabel = new TQLabel(this);
nameLabel->setText(i18n( "Username:" ));
centerLayout->addWidget(nameLabel, 2, 0);
- QLabel* passwdLabel = new QLabel(this);
+ TQLabel* passwdLabel = new TQLabel(this);
passwdLabel->setText(i18n( "Password:" ));
centerLayout->addWidget(passwdLabel, 3, 0);
//---------------------------------------------
- mpGalleryVersion = new QCheckBox( i18n("Use &Gallery 2"), this);
+ mpGalleryVersion = new TQCheckBox( i18n("Use &Gallery 2"), this);
mpGalleryVersion->setChecked( 2 == pGallery->version() );
centerLayout->addWidget( mpGalleryVersion, 4, 1 );
//---------------------------------------------
vbox->addLayout( centerLayout );
- resize( QSize(300, 150).expandedTo(minimumSizeHint()) );
+ resize( TQSize(300, 150).expandedTo(tqminimumSizeHint()) );
clearWState( WState_Polished );
mpNameEdit->setText(pGallery->name());