diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-06 00:54:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-06 00:54:43 -0600 |
commit | b212a1de50010bf9f8ff93123281a6956291cdf2 (patch) | |
tree | 9cb6fe3d3e794cb0bdf5c8720c296b54ad4c6063 /kio/kfile | |
parent | ca1f1a08ecb01139487ff2f0591f97b97164c4e4 (diff) | |
download | tdelibs-b212a1de50010bf9f8ff93123281a6956291cdf2.tar.gz tdelibs-b212a1de50010bf9f8ff93123281a6956291cdf2.zip |
Rename tqsetAlignment to fix bindings
Diffstat (limited to 'kio/kfile')
-rw-r--r-- | kio/kfile/kfileiconview.cpp | 2 | ||||
-rw-r--r-- | kio/kfile/kfilesharedlg.cpp | 4 | ||||
-rw-r--r-- | kio/kfile/kimagefilepreview.cpp | 2 | ||||
-rw-r--r-- | kio/kfile/kmetaprops.cpp | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/kio/kfile/kfileiconview.cpp b/kio/kfile/kfileiconview.cpp index 7a176bcc6..90c8e82f2 100644 --- a/kio/kfile/kfileiconview.cpp +++ b/kio/kfile/kfileiconview.cpp @@ -256,7 +256,7 @@ void KFileIconView::showToolTip( TQIconViewItem *item ) (WFlags)(WStyle_StaysOnTop | WStyle_Customize | WStyle_NoBorder | WStyle_Tool | WX11BypassWM) ); toolTip->setFrameStyle( TQFrame::Plain | TQFrame::Box ); toolTip->setLineWidth( 1 ); - toolTip->tqsetAlignment( AlignLeft | AlignTop ); + toolTip->setAlignment( AlignLeft | AlignTop ); toolTip->move( TQCursor::pos() + TQPoint( 14, 14 ) ); toolTip->adjustSize(); TQRect screen = TQApplication::desktop()->screenGeometry( diff --git a/kio/kfile/kfilesharedlg.cpp b/kio/kfile/kfilesharedlg.cpp index bdf101339..0a2798ae6 100644 --- a/kio/kfile/kfilesharedlg.cpp +++ b/kio/kfile/kfilesharedlg.cpp @@ -184,13 +184,13 @@ void KFileSharePropsPlugin::init() // Some help text TQLabel *label = new TQLabel( i18n("Sharing this folder makes it available under Linux/UNIX (NFS) and Windows (Samba).") , m_widget ); - label->tqsetAlignment( TQt::AlignAuto | TQt::AlignVCenter | TQt::WordBreak ); + label->setAlignment( TQt::AlignAuto | TQt::AlignVCenter | TQt::WordBreak ); vbox->addWidget( label, 0 ); KSeparator* sep=new KSeparator(m_widget); vbox->addWidget( sep, 0 ); label = new TQLabel( i18n("You can also reconfigure file sharing authorization.") , m_widget ); - label->tqsetAlignment( TQt::AlignAuto | TQt::AlignVCenter | TQt::WordBreak ); + label->setAlignment( TQt::AlignAuto | TQt::AlignVCenter | TQt::WordBreak ); vbox->addWidget( label, 0 ); m_pbConfig = new TQPushButton( i18n("Configure File Sharing..."), m_widget ); connect( m_pbConfig, TQT_SIGNAL( clicked() ), TQT_SLOT( slotConfigureFileSharing() ) ); diff --git a/kio/kfile/kimagefilepreview.cpp b/kio/kfile/kimagefilepreview.cpp index 16cef138d..8ac8d1643 100644 --- a/kio/kfile/kimagefilepreview.cpp +++ b/kio/kfile/kimagefilepreview.cpp @@ -43,7 +43,7 @@ KImageFilePreview::KImageFilePreview( TQWidget *parent ) imageLabel = new TQLabel( this ); imageLabel->setFrameStyle( TQFrame::NoFrame ); - imageLabel->tqsetAlignment( Qt::AlignHCenter | Qt::AlignVCenter ); + imageLabel->setAlignment( Qt::AlignHCenter | Qt::AlignVCenter ); imageLabel->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding) ); vb->addWidget( imageLabel ); diff --git a/kio/kfile/kmetaprops.cpp b/kio/kfile/kmetaprops.cpp index 1b85cbab0..969bdd79d 100644 --- a/kio/kfile/kmetaprops.cpp +++ b/kio/kfile/kmetaprops.cpp @@ -179,7 +179,7 @@ void KFileMetaPropsPlugin::createLayout() iit!=editItems.end(); ++iit) { TQLabel* l = new TQLabel((*iit).translatedKey() + ":", groupBox); - l->tqsetAlignment( AlignAuto | AlignTop | ExpandTabs ); + l->setAlignment( AlignAuto | AlignTop | ExpandTabs ); TQValidator* val = mtinfo->createValidator(*git, (*iit).key()); if (!val) kdDebug(7033) << "didn't get a validator for " << *git << "/" << (*iit).key() << endl; w = new KFileMetaInfoWidget(*iit, val, groupBox); @@ -192,7 +192,7 @@ void KFileMetaPropsPlugin::createLayout() iit!=readItems.end(); ++iit) { TQLabel* l = new TQLabel((*iit).translatedKey() + ":", groupBox); - l->tqsetAlignment( AlignAuto | AlignTop | ExpandTabs ); + l->setAlignment( AlignAuto | AlignTop | ExpandTabs ); (new KFileMetaInfoWidget(*iit, KFileMetaInfoWidget::ReadOnly, 0L, groupBox)); } } |