summaryrefslogtreecommitdiffstats
path: root/src/Q_importdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 11:49:27 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 11:49:27 -0500
commitc3f8ee64e905cdb103b5bfa07525fb4e85c31120 (patch)
tree46eabe44a1b3af79971dcafb743a104af8e18e69 /src/Q_importdialog.cpp
downloadkasablanca-c3f8ee64e905cdb103b5bfa07525fb4e85c31120.tar.gz
kasablanca-c3f8ee64e905cdb103b5bfa07525fb4e85c31120.zip
Initial import of kasablanca 0.4.0.2
Diffstat (limited to 'src/Q_importdialog.cpp')
-rw-r--r--src/Q_importdialog.cpp70
1 files changed, 70 insertions, 0 deletions
diff --git a/src/Q_importdialog.cpp b/src/Q_importdialog.cpp
new file mode 100644
index 0000000..51567ec
--- /dev/null
+++ b/src/Q_importdialog.cpp
@@ -0,0 +1,70 @@
+#include <kdialog.h>
+#include <klocale.h>
+/****************************************************************************
+** Form implementation generated from reading ui file '/home/mkulke/Development/kasablanca/src/Q_importdialog.ui'
+**
+** Created: Mo Jan 31 15:02:10 2005
+** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.3 edited Nov 24 2003 $)
+**
+** WARNING! All changes made in this file will be lost!
+****************************************************************************/
+
+#include "Q_importdialog.h"
+
+#include <qvariant.h>
+#include <qpushbutton.h>
+#include <qbuttongroup.h>
+#include <qradiobutton.h>
+#include <qlayout.h>
+#include <qtooltip.h>
+#include <qwhatsthis.h>
+
+/*
+ * Constructs a KasablancaImportDialog as a child of 'parent', with the
+ * name 'name' and widget flags set to 'f'.
+ */
+KasablancaImportDialog::KasablancaImportDialog( QWidget* parent, const char* name, WFlags fl )
+ : QWidget( parent, name, fl )
+{
+ if ( !name )
+ setName( "KasablancaImportDialog" );
+ KasablancaImportDialogLayout = new QGridLayout( this, 1, 1, 11, 6, "KasablancaImportDialogLayout");
+
+ ImportGroupBox = new QButtonGroup( this, "ImportGroupBox" );
+ ImportGroupBox->setColumnLayout(0, Qt::Vertical );
+ ImportGroupBox->layout()->setSpacing( 6 );
+ ImportGroupBox->layout()->setMargin( 11 );
+ ImportGroupBoxLayout = new QGridLayout( ImportGroupBox->layout() );
+ ImportGroupBoxLayout->setAlignment( Qt::AlignTop );
+
+ GftpRadioButton = new QRadioButton( ImportGroupBox, "GftpRadioButton" );
+ GftpRadioButton->setChecked( TRUE );
+
+ ImportGroupBoxLayout->addWidget( GftpRadioButton, 0, 0 );
+
+ KasablancaImportDialogLayout->addWidget( ImportGroupBox, 0, 0 );
+ languageChange();
+ resize( QSize(231, 80).expandedTo(minimumSizeHint()) );
+ clearWState( WState_Polished );
+}
+
+/*
+ * Destroys the object and frees any allocated resources
+ */
+KasablancaImportDialog::~KasablancaImportDialog()
+{
+ // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ * Sets the strings of the subwidgets using the current
+ * language.
+ */
+void KasablancaImportDialog::languageChange()
+{
+ setCaption( tr2i18n( "Import Bookmarks" ) );
+ ImportGroupBox->setTitle( tr2i18n( "Import filter" ) );
+ GftpRadioButton->setText( tr2i18n( "gFtp" ) );
+}
+
+#include "Q_importdialog.moc"