diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-03-26 12:35:35 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-03-26 14:10:15 +0100 |
commit | 38dca4b75c471ddf950e2f9f03801c550d7d26fd (patch) | |
tree | f5923ce5d84971f1f394baf7411146f078c02fab /part/kxenewfilesettings.cpp | |
parent | e28665ce3b2e9ec6f09b4c021db7443cac3c4128 (diff) | |
download | kxmleditor-38dca4b75c471ddf950e2f9f03801c550d7d26fd.tar.gz kxmleditor-38dca4b75c471ddf950e2f9f03801c550d7d26fd.zip |
Initial TQt conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'part/kxenewfilesettings.cpp')
-rw-r--r-- | part/kxenewfilesettings.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/part/kxenewfilesettings.cpp b/part/kxenewfilesettings.cpp index fcd4562..cc9a4fc 100644 --- a/part/kxenewfilesettings.cpp +++ b/part/kxenewfilesettings.cpp @@ -22,11 +22,11 @@ #include <kconfig.h> #include <kdebug.h> -#include <qframe.h> -#include <qlineedit.h> -#include <qcombobox.h> -#include <qbuttongroup.h> -#include <qradiobutton.h> +#include <tqframe.h> +#include <tqlineedit.h> +#include <tqcombobox.h> +#include <tqbuttongroup.h> +#include <tqradiobutton.h> #define CONF_ENTRY_NAME_DFLT_VERSION "Default version" #define DFLT_VALUE_DFLT_VERSION "1.0" @@ -38,7 +38,7 @@ #define DFLT_VALUE_NEWFILE_CREAT_BEHAVIOUR UseDefaults -KXENewFileSettings::KXENewFileSettings( QObject * pParent, const char * pszName ) +KXENewFileSettings::KXENewFileSettings( TQObject * pParent, const char * pszName ) : KXESettings( "New File Settings", pParent, pszName ), m_strDfltVersion( DFLT_VALUE_DFLT_VERSION ), m_strDfltEncoding( DFLT_VALUE_DFLT_ENCODING ), @@ -64,23 +64,23 @@ void KXENewFileSettings::read( const KConfig * pConfig ) } -QString KXENewFileSettings::dialogPageName() const +TQString KXENewFileSettings::dialogPageName() const { return i18n( "New Files" ); } -QString KXENewFileSettings::dialogPageHeader() const +TQString KXENewFileSettings::dialogPageHeader() const { return i18n( "New File Settings" ); } -QString KXENewFileSettings::dialogPageIcon() const +TQString KXENewFileSettings::dialogPageIcon() const { return "files"; } -QWidget * KXENewFileSettings::dialogPage( QFrame * pParent ) +TQWidget * KXENewFileSettings::dialogPage( TQFrame * pParent ) { if ( ! m_pDialogPage ) @@ -92,7 +92,7 @@ QWidget * KXENewFileSettings::dialogPage( QFrame * pParent ) m_pDialogPage->m_pDfltEncoding->insertStringList( encodings() ); updatePage(); - connect( m_pDialogPage->m_pDfltVersion, SIGNAL(textChanged(const QString&)), this, SIGNAL(sigDialogPageChanged()) ); + connect( m_pDialogPage->m_pDfltVersion, SIGNAL(textChanged(const TQString&)), this, SIGNAL(sigDialogPageChanged()) ); connect( m_pDialogPage->m_pDfltEncoding, SIGNAL(activated(int)), this, SIGNAL(sigDialogPageChanged()) ); connect( m_pDialogPage->m_pNewFileCreatBehav1, SIGNAL(toggled(bool)), this, SIGNAL(sigDialogPageChanged()) ); connect( m_pDialogPage->m_pNewFileCreatBehav2, SIGNAL(toggled(bool)), this, SIGNAL(sigDialogPageChanged()) ); @@ -142,9 +142,9 @@ void KXENewFileSettings::updatePage() const } } -QStringList KXENewFileSettings::encodings() +TQStringList KXENewFileSettings::encodings() { - static QStringList lstEncs; + static TQStringList lstEncs; if ( lstEncs.empty() ) { lstEncs.append("UTF-8"); |