diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kghostview/kdscerrordialog.cpp | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kghostview/kdscerrordialog.cpp')
-rw-r--r-- | kghostview/kdscerrordialog.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kghostview/kdscerrordialog.cpp b/kghostview/kdscerrordialog.cpp index 601f5fc5..61245ed5 100644 --- a/kghostview/kdscerrordialog.cpp +++ b/kghostview/kdscerrordialog.cpp @@ -16,9 +16,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include <qlabel.h> -#include <qlayout.h> -#include <qtextedit.h> +#include <tqlabel.h> +#include <tqlayout.h> +#include <tqtextedit.h> #include <kdebug.h> #include <klocale.h> @@ -46,26 +46,26 @@ KDSCErrorHandler::Response KDSCErrorThreshold::error( const KDSCError& err ) return Cancel; } -KDSCErrorDialog::KDSCErrorDialog( QWidget* parent ) : +KDSCErrorDialog::KDSCErrorDialog( TQWidget* parent ) : KDialog( parent, "dscerrordialog", true ), _response( Ok ) { - QVBoxLayout* vbox = new QVBoxLayout( this, marginHint(), spacingHint() ); + TQVBoxLayout* vbox = new TQVBoxLayout( this, marginHint(), spacingHint() ); - _lineNumberLabel = new QLabel( this ); + _lineNumberLabel = new TQLabel( this ); vbox->addWidget( _lineNumberLabel ); - _lineLabel = new QTextEdit( this ); + _lineLabel = new TQTextEdit( this ); _lineLabel->setReadOnly( true ); vbox->addWidget( _lineLabel ); - _descriptionLabel = new QLabel( this ); + _descriptionLabel = new TQLabel( this ); vbox->addWidget( _descriptionLabel ); KSeparator* sep = new KSeparator( KSeparator::HLine, this ); vbox->addWidget( sep ); - QHBoxLayout* hbox = new QHBoxLayout( vbox ); + TQHBoxLayout* hbox = new TQHBoxLayout( vbox ); hbox->addStretch(); @@ -73,13 +73,13 @@ KDSCErrorDialog::KDSCErrorDialog( QWidget* parent ) : hbox->addWidget( _okButton ); _cancelButton = new KPushButton( KStdGuiItem::cancel(), this ); hbox->addWidget( _cancelButton ); - _ignoreAllButton = new QPushButton( i18n("Ignore All"), this ); + _ignoreAllButton = new TQPushButton( i18n("Ignore All"), this ); hbox->addWidget( _ignoreAllButton ); - connect( _okButton, SIGNAL( clicked() ), this, SLOT( slotOk() ) ); - connect( _cancelButton, SIGNAL( clicked() ), this, SLOT( slotCancel() ) ); - connect( _ignoreAllButton, SIGNAL( clicked() ), - this, SLOT( slotIgnoreAll() ) ); + connect( _okButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotOk() ) ); + connect( _cancelButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotCancel() ) ); + connect( _ignoreAllButton, TQT_SIGNAL( clicked() ), + this, TQT_SLOT( slotIgnoreAll() ) ); } KDSCErrorHandler::Response KDSCErrorDialog::error( const KDSCError& err ) @@ -108,7 +108,7 @@ KDSCErrorHandler::Response KDSCErrorDialog::error( const KDSCError& err ) return _response; } -QString KDSCErrorDialog::description( KDSCError::Type type ) const +TQString KDSCErrorDialog::description( KDSCError::Type type ) const { switch( type ) { |