diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 20:34:22 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 20:34:22 +0000 |
commit | b09bffed6b43262948018dfb0f11890850ddf7c1 (patch) | |
tree | 138696bfcc7ac01070d0e8ecaa1cdf94611a2bd8 /kdat/LoggerWidget.cpp | |
parent | 6d43944a7130b9d1b4ae3fba37b774aced8612cf (diff) | |
download | tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.tar.gz tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.zip |
TQt4 port kdeadmin
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1237416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdat/LoggerWidget.cpp')
-rw-r--r-- | kdat/LoggerWidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdat/LoggerWidget.cpp b/kdat/LoggerWidget.cpp index 11921c2..2412104 100644 --- a/kdat/LoggerWidget.cpp +++ b/kdat/LoggerWidget.cpp @@ -29,11 +29,11 @@ #include "LoggerWidget.moc" -LoggerWidget::LoggerWidget( const TQString & title, TQWidget* parent, const char* name ) - : TQWidget( parent, name ) +LoggerWidget::LoggerWidget( const TQString & title, TQWidget* tqparent, const char* name ) + : TQWidget( tqparent, name ) { TQLabel* lbl1 = new TQLabel( title, this ); - lbl1->setFixedHeight( lbl1->sizeHint().height() ); + lbl1->setFixedHeight( lbl1->tqsizeHint().height() ); _mle = new TQMultiLineEdit( this ); _mle->setReadOnly( TRUE ); @@ -55,7 +55,7 @@ void LoggerWidget::append( const TQString & text ) void LoggerWidget::save() { - TQString file = KFileDialog::getSaveFileName( TQString::null, TQString::null, this ); + TQString file = KFileDialog::getSaveFileName( TQString(), TQString(), this ); if ( !file.isNull() ) { TQFile f( file ); if ( f.exists() ) { |