summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmlibraryentrypreview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:31:39 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 19:30:02 +0200
commita84302cc767bcabbf01b8c76f61419f4a2ab4ff0 (patch)
treeac5486dd6d994b05268976cb64e7ef1450d353bc /kpovmodeler/pmlibraryentrypreview.cpp
parentcbf5be374069885933bdc8a3ede2cbf9c2ffdb5f (diff)
downloadtdegraphics-a84302cc767bcabbf01b8c76f61419f4a2ab4ff0.tar.gz
tdegraphics-a84302cc767bcabbf01b8c76f61419f4a2ab4ff0.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit 45f529de247fc4b3662f6b474abe03fe904306ec)
Diffstat (limited to 'kpovmodeler/pmlibraryentrypreview.cpp')
-rw-r--r--kpovmodeler/pmlibraryentrypreview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kpovmodeler/pmlibraryentrypreview.cpp b/kpovmodeler/pmlibraryentrypreview.cpp
index a1ea53a1..0ccfd5b4 100644
--- a/kpovmodeler/pmlibraryentrypreview.cpp
+++ b/kpovmodeler/pmlibraryentrypreview.cpp
@@ -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->tqsetAlignment( TQt::AlignLeft );
+ m_pName->setAlignment( TQt::AlignLeft );
m_pName->setReadOnly( true );
gl->addWidget( lbl, 0, 0 );
gl->addWidget( m_pName, 0, 1 );
lbl = new TQLabel( i18n( "Description:" ), this );
- lbl->tqsetAlignment( TQt::AlignTop );
+ lbl->setAlignment( TQt::AlignTop );
m_pDescription = new TQMultiLineEdit( this );
- m_pDescription->tqsetAlignment( TQt::AlignTop | TQt::AlignLeft |
+ m_pDescription->setAlignment( 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->tqsetAlignment( TQt::AlignTop );
+ m_pKeywordsLabel->setAlignment( TQt::AlignTop );
m_pKeywords = new TQMultiLineEdit( this );
- m_pKeywords->tqsetAlignment( TQt::AlignTop | TQt::AlignLeft |
+ m_pKeywords->setAlignment( 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.tqencodedData( "application/x-kpovmodeler" ) );
+ objToSave.setObjects( drag.encodedData( "application/x-kpovmodeler" ) );
// Add the preview image
objToSave.setPreview( m_image.copy( ) );