summaryrefslogtreecommitdiffstats
path: root/ark/arkviewer.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 10:00:17 -0600
commit955e20356d63ed405198c8143617a8a0ca8bfc02 (patch)
tree9a9ab22c86d212a5655014ad752e96b04c0c86a9 /ark/arkviewer.cpp
parentbf280726d5d22f33d33e4f9e771220c725249407 (diff)
downloadtdeutils-955e20356d63ed405198c8143617a8a0ca8bfc02.tar.gz
tdeutils-955e20356d63ed405198c8143617a8a0ca8bfc02.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit bf280726d5d22f33d33e4f9e771220c725249407.
Diffstat (limited to 'ark/arkviewer.cpp')
-rw-r--r--ark/arkviewer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ark/arkviewer.cpp b/ark/arkviewer.cpp
index 13db475..b2ae335 100644
--- a/ark/arkviewer.cpp
+++ b/ark/arkviewer.cpp
@@ -30,7 +30,7 @@
#include <kiconloader.h>
#include <tqvbox.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlabel.h>
#include <tqframe.h>
#include <tqurl.h>
@@ -40,7 +40,7 @@ ArkViewer::ArkViewer( TQWidget * parent, const char * name )
: KDialogBase( parent, name, false, TQString(), Close ), m_part( 0 )
{
m_widget = new TQVBox( this );
- m_widget->layout()->setSpacing( 10 );
+ m_widget->tqlayout()->setSpacing( 10 );
connect( this, TQT_SIGNAL( finished() ), this, TQT_SLOT( slotFinished() ) );
@@ -76,15 +76,15 @@ bool ArkViewer::view( const KURL& filename )
TQLabel *iconLabel = new TQLabel( header );
iconLabel->setPixmap( mimetype->pixmap( KIcon::Desktop ) );
- iconLabel->setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum );
+ iconLabel->tqsetSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum );
TQVBox *headerRight = new TQVBox( header );
new TQLabel( TQString( "<qt><b>%1</b></qt>" )
- .arg( filename.fileName() ), headerRight
+ .tqarg( filename.fileName() ), headerRight
);
new TQLabel( mimetype->comment(), headerRight );
- header->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Maximum );
+ header->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Maximum );
m_part = KParts::ComponentFactory::createPartInstanceFromQuery<KParts::ReadOnlyPart>( mimetype->name(), TQString(), m_widget, 0, TQT_TQOBJECT(this) );