summaryrefslogtreecommitdiffstats
path: root/kmix/dialogviewconfiguration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmix/dialogviewconfiguration.cpp')
-rw-r--r--kmix/dialogviewconfiguration.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kmix/dialogviewconfiguration.cpp b/kmix/dialogviewconfiguration.cpp
index f6c035e9..09e88d23 100644
--- a/kmix/dialogviewconfiguration.cpp
+++ b/kmix/dialogviewconfiguration.cpp
@@ -19,10 +19,10 @@
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <qcheckbox.h>
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qptrlist.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqptrlist.h>
#include <kdebug.h>
#include <kdialogbase.h>
@@ -33,25 +33,25 @@
#include "mixdevice.h"
-DialogViewConfiguration::DialogViewConfiguration( QWidget*, ViewBase& view)
+DialogViewConfiguration::DialogViewConfiguration( TQWidget*, ViewBase& view)
: KDialogBase( Plain, i18n( "Configure" ), Ok|Cancel, Ok ),
_view(view)
{
- QPtrList<QWidget> &mdws = view._mdws;
- _layout = new QVBoxLayout(plainPage(),0,-1, "_layout" );
+ TQPtrList<TQWidget> &mdws = view._mdws;
+ _layout = new TQVBoxLayout(plainPage(),0,-1, "_layout" );
// kdDebug(67100) << "DialogViewConfiguration::DialogViewConfiguration add header" << "\n";
- QLabel* qlb = new QLabel( i18n("Configure"), plainPage() );
- //QLabel* qlb = new QLabel( i18n("Show"), plainPage() );
+ TQLabel* qlb = new TQLabel( i18n("Configure"), plainPage() );
+ //TQLabel* qlb = new TQLabel( i18n("Show"), plainPage() );
_layout->addWidget(qlb);
- for ( QWidget *qw = mdws.first(); qw != 0; qw = mdws.next())
+ for ( TQWidget *qw = mdws.first(); qw != 0; qw = mdws.next())
{
if ( qw->inherits("MixDeviceWidget") ) {
MixDeviceWidget *mdw = static_cast<MixDeviceWidget*>(qw);
- QString mdName = mdw->mixDevice()->name();
- mdName.replace('&', "&&"); // Quoting the '&' needed, to prevent QCheckBox creating an accelerator
- QCheckBox* cb = new QCheckBox( mdName, plainPage() );
+ TQString mdName = mdw->mixDevice()->name();
+ mdName.replace('&', "&&"); // Quoting the '&' needed, to prevent TQCheckBox creating an accelerator
+ TQCheckBox* cb = new TQCheckBox( mdName, plainPage() );
_qEnabledCB.append(cb);
cb->setChecked( !mdw->isDisabled() ); //mdw->isVisible() );
_layout->addWidget(cb);
@@ -59,7 +59,7 @@ DialogViewConfiguration::DialogViewConfiguration( QWidget*, ViewBase& view)
}
_layout->activate();
resize(_layout->sizeHint() );
- connect( this, SIGNAL(okClicked()) , this, SLOT(apply()) );
+ connect( this, TQT_SIGNAL(okClicked()) , this, TQT_SLOT(apply()) );
}
DialogViewConfiguration::~DialogViewConfiguration()
@@ -68,13 +68,13 @@ DialogViewConfiguration::~DialogViewConfiguration()
void DialogViewConfiguration::apply()
{
- QPtrList<QWidget> &mdws = _view._mdws;
+ TQPtrList<TQWidget> &mdws = _view._mdws;
// --- 2-Step Apply ---
// --- Step 1: Show and Hide Widgets ---
- QCheckBox *cb = _qEnabledCB.first();
- for ( QWidget *qw = mdws.first(); qw != 0; qw = mdws.next())
+ TQCheckBox *cb = _qEnabledCB.first();
+ for ( TQWidget *qw = mdws.first(); qw != 0; qw = mdws.next())
{
if ( qw->inherits("MixDeviceWidget") ) {
MixDeviceWidget *mdw = static_cast<MixDeviceWidget*>(qw);
@@ -93,7 +93,7 @@ void DialogViewConfiguration::apply()
_view.configurationUpdate();
}
-QSize DialogViewConfiguration::sizeHint() const {
+TQSize DialogViewConfiguration::sizeHint() const {
// kdDebug(67100) << "DialogViewConfiguration::sizeHint() is (100,500)\n";
return _layout->sizeHint();
}