From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kghostview/logwindow.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kghostview/logwindow.cpp') diff --git a/kghostview/logwindow.cpp b/kghostview/logwindow.cpp index df2e5765..69c61ac3 100644 --- a/kghostview/logwindow.cpp +++ b/kghostview/logwindow.cpp @@ -16,9 +16,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include -#include -#include +#include +#include +#include #include #include @@ -26,35 +26,35 @@ #include "logwindow.h" -LogWindow::LogWindow( const QString& caption, - QWidget* parent, const char* name) : +LogWindow::LogWindow( const TQString& caption, + TQWidget* parent, const char* name) : KDialogBase( parent, name, false, caption, User1|Close, Close, false, KStdGuiItem::clear() ) { - QVBox * display = makeVBoxMainWidget(); + TQVBox * display = makeVBoxMainWidget(); - _errorIndication = new QLabel( "", display, "logview-label" ); + _errorIndication = new TQLabel( "", display, "logview-label" ); _errorIndication->hide(); - _configureGS = new KURLLabel( i18n( "Configure Ghostscript" ), QString::null, display ); + _configureGS = new KURLLabel( i18n( "Configure Ghostscript" ), TQString::null, display ); _configureGS->hide(); - _logView = new QTextEdit( display, "logview" ); + _logView = new TQTextEdit( display, "logview" ); _logView->setTextFormat( Qt::PlainText ); _logView->setReadOnly( true ); - _logView->setWordWrap( QTextEdit::NoWrap ); + _logView->setWordWrap( TQTextEdit::NoWrap ); _logView->setFont( KGlobalSettings::fixedFont() ); _logView->setMinimumWidth( 80 * fontMetrics().width( " " ) ); - connect( this, SIGNAL( user1Clicked() ), SLOT( clear() ) ); - connect( _configureGS, SIGNAL( leftClickedURL() ), SLOT( emitConfigureGS() ) ); + connect( this, TQT_SIGNAL( user1Clicked() ), TQT_SLOT( clear() ) ); + connect( _configureGS, TQT_SIGNAL( leftClickedURL() ), TQT_SLOT( emitConfigureGS() ) ); } void LogWindow::emitConfigureGS() { emit configureGS(); } -void LogWindow::append( const QString& message ) +void LogWindow::append( const TQString& message ) { _logView->append( message ); } @@ -65,7 +65,7 @@ void LogWindow::clear() _errorIndication->clear(); } -void LogWindow::setLabel( const QString& text, bool showConfigureGS ) +void LogWindow::setLabel( const TQString& text, bool showConfigureGS ) { _errorIndication->setText( text ); _errorIndication->show(); -- cgit v1.2.3