summaryrefslogtreecommitdiffstats
path: root/src/projects/k3bdataadvancedimagesettingswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/projects/k3bdataadvancedimagesettingswidget.cpp')
-rw-r--r--src/projects/k3bdataadvancedimagesettingswidget.cpp130
1 files changed, 65 insertions, 65 deletions
diff --git a/src/projects/k3bdataadvancedimagesettingswidget.cpp b/src/projects/k3bdataadvancedimagesettingswidget.cpp
index ac24813..7ce1789 100644
--- a/src/projects/k3bdataadvancedimagesettingswidget.cpp
+++ b/src/projects/k3bdataadvancedimagesettingswidget.cpp
@@ -17,16 +17,16 @@
#include "k3bisooptions.h"
-#include <qcheckbox.h>
-#include <qradiobutton.h>
-#include <qbuttongroup.h>
-#include <qheader.h>
-#include <qwhatsthis.h>
-#include <qpoint.h>
-#include <qpainter.h>
-#include <qpalette.h>
-#include <qvalidator.h>
-#include <qregexp.h>
+#include <tqcheckbox.h>
+#include <tqradiobutton.h>
+#include <tqbuttongroup.h>
+#include <tqheader.h>
+#include <tqwhatsthis.h>
+#include <tqpoint.h>
+#include <tqpainter.h>
+#include <tqpalette.h>
+#include <tqvalidator.h>
+#include <tqregexp.h>
#include <klistview.h>
#include <kcombobox.h>
@@ -75,17 +75,17 @@ static const char * mkisofsCharacterSets[] = { "cp10081",
-class K3bDataAdvancedImageSettingsWidget::PrivateIsoWhatsThis : public QWhatsThis
+class K3bDataAdvancedImageSettingsWidget::PrivateIsoWhatsThis : public TQWhatsThis
{
public:
PrivateIsoWhatsThis( K3bDataAdvancedImageSettingsWidget* w )
- : QWhatsThis( w->m_viewIsoSettings->viewport() ) {
+ : TQWhatsThis( w->m_viewIsoSettings->viewport() ) {
this->w = w;
}
- QString text( const QPoint& p ) {
- QListViewItem* i = w->m_viewIsoSettings->selectedItem(); // dies funktioniert nur bei rechtsklick
- QListViewItem* i2 = w->m_viewIsoSettings->itemAt( p ); // dies funktioniert nur bei action whatsthis
+ TQString text( const TQPoint& p ) {
+ TQListViewItem* i = w->m_viewIsoSettings->selectedItem(); // dies funktioniert nur bei rechtsklick
+ TQListViewItem* i2 = w->m_viewIsoSettings->itemAt( p ); // dies funktioniert nur bei action whatsthis
if( i2 != 0 )
kdDebug() << "at p " << i2->text(0) << endl;
@@ -117,21 +117,21 @@ private:
-class K3bDataAdvancedImageSettingsWidget::PrivateCheckViewItem : public QCheckListItem
+class K3bDataAdvancedImageSettingsWidget::PrivateCheckViewItem : public TQCheckListItem
{
public:
- PrivateCheckViewItem( QListView* parent, const QString& text, Type tt = Controller )
- : QCheckListItem( parent, text, tt ) {
+ PrivateCheckViewItem( TQListView* tqparent, const TQString& text, Type tt = Controller )
+ : TQCheckListItem( tqparent, text, tt ) {
}
- PrivateCheckViewItem( QListViewItem* parent, const QString& text, Type tt = Controller )
- : QCheckListItem( parent, text, tt ) {
+ PrivateCheckViewItem( TQListViewItem* tqparent, const TQString& text, Type tt = Controller )
+ : TQCheckListItem( tqparent, text, tt ) {
}
protected:
void stateChange( bool on ) {
- // enable or disable all children
- QListViewItem* item = firstChild();
+ // enable or disable all tqchildren
+ TQListViewItem* item = firstChild();
while( item ) {
if( PrivateCheckViewItem* pi = dynamic_cast<PrivateCheckViewItem*>(item) )
pi->setEnabled( !on );
@@ -141,8 +141,8 @@ protected:
};
-K3bDataAdvancedImageSettingsWidget::K3bDataAdvancedImageSettingsWidget( QWidget* parent, const char* name )
- : base_K3bAdvancedDataImageSettings( parent, name )
+K3bDataAdvancedImageSettingsWidget::K3bDataAdvancedImageSettingsWidget( TQWidget* tqparent, const char* name )
+ : base_K3bAdvancedDataImageSettings( tqparent, name )
{
m_viewIsoSettings->header()->hide();
m_viewIsoSettings->setSorting( -1 );
@@ -151,92 +151,92 @@ K3bDataAdvancedImageSettingsWidget::K3bDataAdvancedImageSettingsWidget( QWidget*
(void)new PrivateIsoWhatsThis( this );
// create all the view items
- QCheckListItem* iso9660Root = new QCheckListItem( m_viewIsoSettings,
+ TQCheckListItem* iso9660Root = new TQCheckListItem( m_viewIsoSettings,
i18n("IS09660 Settings"),
- QCheckListItem::Controller );
- QCheckListItem* rrRoot = new QCheckListItem( m_viewIsoSettings,
+ TQCheckListItem::Controller );
+ TQCheckListItem* rrRoot = new TQCheckListItem( m_viewIsoSettings,
iso9660Root,
i18n("Rock Ridge Settings"),
- QCheckListItem::Controller );
- QCheckListItem* jolietRoot = new QCheckListItem( m_viewIsoSettings,
+ TQCheckListItem::Controller );
+ TQCheckListItem* jolietRoot = new TQCheckListItem( m_viewIsoSettings,
rrRoot,
i18n("Joliet Settings"),
- QCheckListItem::Controller );
- QCheckListItem* miscRoot = new QCheckListItem( m_viewIsoSettings,
+ TQCheckListItem::Controller );
+ TQCheckListItem* miscRoot = new TQCheckListItem( m_viewIsoSettings,
jolietRoot,
i18n("Misc Settings"),
- QCheckListItem::Controller );
+ TQCheckListItem::Controller );
// ISO9660 settings
m_checkAllowUntranslatedFilenames = new PrivateCheckViewItem( iso9660Root,
i18n( "Allow untranslated ISO9660 filenames" ),
- QCheckListItem::CheckBox );
+ TQCheckListItem::CheckBox );
m_checkAllowMaxLengthFilenames = new PrivateCheckViewItem( m_checkAllowUntranslatedFilenames,
i18n( "Allow max length ISO9660 filenames (37 characters)" ),
- QCheckListItem::CheckBox );
+ TQCheckListItem::CheckBox );
m_checkAllowFullAscii = new PrivateCheckViewItem( m_checkAllowUntranslatedFilenames,
i18n( "Allow full ASCII charset for ISO9660 filenames" ),
- QCheckListItem::CheckBox );
+ TQCheckListItem::CheckBox );
m_checkAllowOther = new PrivateCheckViewItem( m_checkAllowUntranslatedFilenames,
i18n( "Allow ~ and # in ISO9660 filenames" ),
- QCheckListItem::CheckBox );
+ TQCheckListItem::CheckBox );
m_checkAllowLowercaseCharacters = new PrivateCheckViewItem( m_checkAllowUntranslatedFilenames,
i18n( "Allow lowercase characters in ISO9660 filenames" ),
- QCheckListItem::CheckBox );
+ TQCheckListItem::CheckBox );
m_checkAllowMultiDot = new PrivateCheckViewItem( m_checkAllowUntranslatedFilenames,
i18n( "Allow multiple dots in ISO9660 filenames" ),
- QCheckListItem::CheckBox );
+ TQCheckListItem::CheckBox );
m_checkAllow31CharFilenames = new PrivateCheckViewItem( m_checkAllowUntranslatedFilenames,
i18n( "Allow 31 character ISO9660 filenames" ),
- QCheckListItem::CheckBox );
+ TQCheckListItem::CheckBox );
m_checkAllowBeginningPeriod = new PrivateCheckViewItem( m_checkAllowUntranslatedFilenames,
i18n( "Allow leading period in ISO9660 filenames" ),
- QCheckListItem::CheckBox );
+ TQCheckListItem::CheckBox );
m_checkOmitVersionNumbers = new PrivateCheckViewItem( m_checkAllowUntranslatedFilenames,
i18n( "Omit version numbers in ISO9660 filenames" ),
- QCheckListItem::CheckBox );
+ TQCheckListItem::CheckBox );
m_checkOmitTrailingPeriod = new PrivateCheckViewItem( m_checkAllowUntranslatedFilenames,
i18n( "Omit trailing period in ISO9660 filenames" ),
- QCheckListItem::CheckBox );
+ TQCheckListItem::CheckBox );
m_checkAllowUntranslatedFilenames->setOpen(true);
- m_isoLevelController = new QCheckListItem( iso9660Root,
+ m_isoLevelController = new TQCheckListItem( iso9660Root,
m_checkAllowUntranslatedFilenames,
i18n("ISO Level") );
- m_radioIsoLevel3 = new QCheckListItem( m_isoLevelController,
- i18n("Level %1").arg(3),
- QCheckListItem::RadioButton );
- m_radioIsoLevel2 = new QCheckListItem( m_isoLevelController,
- i18n("Level %1").arg(2),
- QCheckListItem::RadioButton );
- m_radioIsoLevel1 = new QCheckListItem( m_isoLevelController,
- i18n("Level %1").arg(1),
- QCheckListItem::RadioButton );
+ m_radioIsoLevel3 = new TQCheckListItem( m_isoLevelController,
+ i18n("Level %1").tqarg(3),
+ TQCheckListItem::RadioButton );
+ m_radioIsoLevel2 = new TQCheckListItem( m_isoLevelController,
+ i18n("Level %1").tqarg(2),
+ TQCheckListItem::RadioButton );
+ m_radioIsoLevel1 = new TQCheckListItem( m_isoLevelController,
+ i18n("Level %1").tqarg(1),
+ TQCheckListItem::RadioButton );
m_isoLevelController->setOpen(true);
// Joliet Settings
- m_checkJolietLong = new QCheckListItem( jolietRoot,
+ m_checkJolietLong = new TQCheckListItem( jolietRoot,
i18n("Allow 103 character Joliet filenames"),
- QCheckListItem::CheckBox );
+ TQCheckListItem::CheckBox );
// Rock Ridge Settings
- m_checkCreateTransTbl = new QCheckListItem( rrRoot,
+ m_checkCreateTransTbl = new TQCheckListItem( rrRoot,
i18n( "Create TRANS.TBL files" ),
- QCheckListItem::CheckBox );
- m_checkHideTransTbl = new QCheckListItem( rrRoot, m_checkCreateTransTbl,
+ TQCheckListItem::CheckBox );
+ m_checkHideTransTbl = new TQCheckListItem( rrRoot, m_checkCreateTransTbl,
i18n( "Hide TRANS.TBL files in Joliet" ),
- QCheckListItem::CheckBox );
+ TQCheckListItem::CheckBox );
// Misc Settings
-// m_checkFollowSymbolicLinks = new QCheckListItem( m_viewIsoSettings,
+// m_checkFollowSymbolicLinks = new TQCheckListItem( m_viewIsoSettings,
// i18n( "Follow symbolic links" ),
-// QCheckListItem::CheckBox );
+// TQCheckListItem::CheckBox );
- m_checkDoNotCacheInodes = new QCheckListItem( miscRoot,
+ m_checkDoNotCacheInodes = new TQCheckListItem( miscRoot,
i18n("Do not cache inodes" ),
- QCheckListItem::CheckBox );
+ TQCheckListItem::CheckBox );
iso9660Root->setOpen( true );
jolietRoot->setOpen( true );
@@ -244,14 +244,14 @@ K3bDataAdvancedImageSettingsWidget::K3bDataAdvancedImageSettingsWidget( QWidget*
miscRoot->setOpen( true );
- m_comboInputCharset->setValidator( new QRegExpValidator( QRegExp("[\\w_-]*"), this ) );
+ m_comboInputCharset->setValidator( new TQRegExpValidator( TQRegExp("[\\w_-]*"), TQT_TQOBJECT(this) ) );
// fill charset combo
for( int i = 0; mkisofsCharacterSets[i]; i++ ) {
- m_comboInputCharset->insertItem( QString( mkisofsCharacterSets[i] ) );
+ m_comboInputCharset->insertItem( TQString( mkisofsCharacterSets[i] ) );
}
- connect( m_checkJoliet, SIGNAL(toggled(bool)), this, SLOT(slotJolietToggled(bool)) );
+ connect( m_checkJoliet, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotJolietToggled(bool)) );
}