summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmlibraryentrypreview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:00 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:00 -0600
commitec1fddcd0d6663ad273af85357f04abbc5689468 (patch)
tree6cb946ab8b4771868c6eee8d1aa5213d6ec246e2 /kpovmodeler/pmlibraryentrypreview.cpp
parentc2637a0da6d9a1c8626ca39f8451ab3b7cda487a (diff)
downloadtdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.tar.gz
tdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.
Diffstat (limited to 'kpovmodeler/pmlibraryentrypreview.cpp')
-rw-r--r--kpovmodeler/pmlibraryentrypreview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kpovmodeler/pmlibraryentrypreview.cpp b/kpovmodeler/pmlibraryentrypreview.cpp
index d5565bb7..a1ea53a1 100644
--- a/kpovmodeler/pmlibraryentrypreview.cpp
+++ b/kpovmodeler/pmlibraryentrypreview.cpp
@@ -29,7 +29,7 @@
#include <tqlabel.h>
#include <tqlineedit.h>
#include <tqmultilineedit.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpushbutton.h>
#include <tqdragobject.h>
@@ -59,24 +59,24 @@ PMLibraryEntryPreview::PMLibraryEntryPreview( TQWidget* parent ) :
gl->setColStretch( 1, 1 );
TQLabel* lbl = new TQLabel( i18n( "Name: " ), this );
m_pName = new TQLineEdit( this );
- m_pName->setAlignment( TQt::AlignLeft );
+ m_pName->tqsetAlignment( TQt::AlignLeft );
m_pName->setReadOnly( true );
gl->addWidget( lbl, 0, 0 );
gl->addWidget( m_pName, 0, 1 );
lbl = new TQLabel( i18n( "Description:" ), this );
- lbl->setAlignment( TQt::AlignTop );
+ lbl->tqsetAlignment( TQt::AlignTop );
m_pDescription = new TQMultiLineEdit( this );
- m_pDescription->setAlignment( TQt::AlignTop | TQt::AlignLeft |
+ m_pDescription->tqsetAlignment( TQt::AlignTop | TQt::AlignLeft |
TQt::WordBreak | TQt::DontClip );
m_pDescription->setReadOnly( true );
gl->addWidget( lbl, 1, 0 );
gl->addWidget( m_pDescription, 1, 1 );
m_pKeywordsLabel = new TQLabel( i18n( "Keywords:" ), this );
- m_pKeywordsLabel->setAlignment( TQt::AlignTop );
+ m_pKeywordsLabel->tqsetAlignment( TQt::AlignTop );
m_pKeywords = new TQMultiLineEdit( this );
- m_pKeywords->setAlignment( TQt::AlignTop | TQt::AlignLeft |
+ m_pKeywords->tqsetAlignment( TQt::AlignTop | TQt::AlignLeft |
TQt::WordBreak | TQt::DontClip );
m_pKeywords->setReadOnly( true );
gl->addWidget( m_pKeywordsLabel, 2, 0 );
@@ -302,7 +302,7 @@ bool PMLibraryEntryPreview::saveIfNeeded( bool forceSave )
// Add them to the object to save.
PMObjectDrag drag( m_pPart, sortedList );
- objToSave.setObjects( drag.encodedData( "application/x-kpovmodeler" ) );
+ objToSave.setObjects( drag.tqencodedData( "application/x-kpovmodeler" ) );
// Add the preview image
objToSave.setPreview( m_image.copy( ) );