diff options
Diffstat (limited to 'part/kxearchiveextssettings.cpp')
-rw-r--r-- | part/kxearchiveextssettings.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/part/kxearchiveextssettings.cpp b/part/kxearchiveextssettings.cpp index 3dfde77..9f51882 100644 --- a/part/kxearchiveextssettings.cpp +++ b/part/kxearchiveextssettings.cpp @@ -21,14 +21,14 @@ #include <klocale.h> #include <kconfig.h> -#include <qframe.h> -#include <qlistbox.h> -#include <qlineedit.h> -#include <qpushbutton.h> +#include <tqframe.h> +#include <tqlistbox.h> +#include <tqlineedit.h> +#include <tqpushbutton.h> #define CONF_ENTRY_NAME_EXTS_TARGZ "Extensions" -KXEArchiveExtsSettings::KXEArchiveExtsSettings( QObject * pParent, const char * pszName ) +KXEArchiveExtsSettings::KXEArchiveExtsSettings( TQObject * pParent, const char * pszName ) : KXESettings( "TarGz Extensions", pParent, pszName ), m_pDialogPage(0) { @@ -46,22 +46,22 @@ void KXEArchiveExtsSettings::read( const KConfig * pConfig ) m_lstExtensions = pConfig->readListEntry( CONF_ENTRY_NAME_EXTS_TARGZ ); } -QString KXEArchiveExtsSettings::dialogPageName() const +TQString KXEArchiveExtsSettings::dialogPageName() const { return i18n( "Archive Extensions" ); } -QString KXEArchiveExtsSettings::dialogPageHeader() const +TQString KXEArchiveExtsSettings::dialogPageHeader() const { return i18n( "Specify Archive Extensions" ); } -QString KXEArchiveExtsSettings::dialogPageIcon() const +TQString KXEArchiveExtsSettings::dialogPageIcon() const { return "filetypes"; } -QWidget * KXEArchiveExtsSettings::dialogPage( QFrame * pParent ) +TQWidget * KXEArchiveExtsSettings::dialogPage( TQFrame * pParent ) { if ( ! m_pDialogPage ) { @@ -71,10 +71,10 @@ QWidget * KXEArchiveExtsSettings::dialogPage( QFrame * pParent ) // and fill its widgets with the corresponding values updatePage(); - connect( m_pDialogPage->m_pExtensions, SIGNAL(highlighted(const QString&)), this, SLOT(slotPageEditExtension(const QString&)) ); + connect( m_pDialogPage->m_pExtensions, SIGNAL(highlighted(const TQString&)), this, SLOT(slotPageEditExtension(const TQString&)) ); connect( m_pDialogPage->m_pBtnNew, SIGNAL(clicked()), this, SLOT(slotPageAddExtension()) ); connect( m_pDialogPage->m_pBtnDelete, SIGNAL(clicked()), this, SLOT(slotPageDeleteExtension()) ); - connect( m_pDialogPage->m_pExtension, SIGNAL(textChanged(const QString&)), this, SLOT(slotPageUpdateExtension(const QString&)) ); + connect( m_pDialogPage->m_pExtension, SIGNAL(textChanged(const TQString&)), this, SLOT(slotPageUpdateExtension(const TQString&)) ); connect( m_pDialogPage->m_pBtnNew, SIGNAL(clicked()), this, SIGNAL(sigDialogPageChanged()) ); connect( m_pDialogPage->m_pBtnDelete, SIGNAL(clicked()), this, SIGNAL(sigDialogPageChanged()) ); @@ -89,7 +89,7 @@ void KXEArchiveExtsSettings::setFromPage() if ( m_pDialogPage ) { m_lstExtensions.clear(); - QListBoxItem * pTmpItem = m_pDialogPage->m_pExtensions->firstItem(); + TQListBoxItem * pTmpItem = m_pDialogPage->m_pExtensions->firstItem(); while ( pTmpItem ) { m_lstExtensions << pTmpItem->text(); @@ -113,7 +113,7 @@ void KXEArchiveExtsSettings::updatePage() const // additional slots for the corresponding configuration dialog page // ////////////////////////////////////////////////////////////////////// -void KXEArchiveExtsSettings::slotPageEditExtension( const QString & strText ) +void KXEArchiveExtsSettings::slotPageEditExtension( const TQString & strText ) { m_pDialogPage->m_pExtension->setText( strText ); m_pDialogPage->m_pExtension->setEnabled( true ); @@ -142,7 +142,7 @@ void KXEArchiveExtsSettings::slotPageDeleteExtension() m_pDialogPage->m_pExtensions->setSelected( m_pDialogPage->m_pExtensions->currentItem(), true ); } -void KXEArchiveExtsSettings::slotPageUpdateExtension( const QString & strText ) +void KXEArchiveExtsSettings::slotPageUpdateExtension( const TQString & strText ) { if ( ( m_pDialogPage->m_pExtensions->count() > 0 ) && ( m_pDialogPage->m_pExtensions->currentText() != m_pDialogPage->m_pExtension->text() ) ) |