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/logwindow.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/logwindow.cpp')
-rw-r--r-- | kghostview/logwindow.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
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 <qtextedit.h> -#include <qlabel.h> -#include <qvbox.h> +#include <tqtextedit.h> +#include <tqlabel.h> +#include <tqvbox.h> #include <kglobalsettings.h> #include <kurllabel.h> @@ -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(); |