summaryrefslogtreecommitdiffstats
path: root/tdeui
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui')
-rw-r--r--tdeui/kbugreport.cpp2
-rw-r--r--tdeui/keditlistbox.cpp2
-rw-r--r--tdeui/kpushbutton.cpp2
-rw-r--r--tdeui/ksqueezedtextlabel.cpp4
-rw-r--r--tdeui/kurllabel.cpp4
-rw-r--r--tdeui/kurllabel.h2
-rw-r--r--tdeui/tests/kcomboboxtest.cpp10
7 files changed, 13 insertions, 13 deletions
diff --git a/tdeui/kbugreport.cpp b/tdeui/kbugreport.cpp
index e06e05c64..d122d2e02 100644
--- a/tdeui/kbugreport.cpp
+++ b/tdeui/kbugreport.cpp
@@ -259,7 +259,7 @@ KBugReport::KBugReport( TQWidget * parentw, bool modal, const KAboutData *aboutD
updateURL();
d->submitBugButton->setText( i18n("&Launch Bug Report Wizard") );
- d->submitBugButton->tqsetSizePolicy(TQSizePolicy::Fixed,TQSizePolicy::Fixed);
+ d->submitBugButton->setSizePolicy(TQSizePolicy::Fixed,TQSizePolicy::Fixed);
lay->addWidget( d->submitBugButton );
lay->addSpacing(10);
diff --git a/tdeui/keditlistbox.cpp b/tdeui/keditlistbox.cpp
index 81277ed55..040e77c70 100644
--- a/tdeui/keditlistbox.cpp
+++ b/tdeui/keditlistbox.cpp
@@ -79,7 +79,7 @@ void KEditListBox::init( bool checkAtEntering, int buttons,
d->m_checkAtEntering = checkAtEntering;
servNewButton = servRemoveButton = servUpButton = servDownButton = 0L;
- tqsetSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding,
+ setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding,
TQSizePolicy::MinimumExpanding));
TQGridLayout * grid = new TQGridLayout(this, 7, 2,
diff --git a/tdeui/kpushbutton.cpp b/tdeui/kpushbutton.cpp
index 57011da3b..07127cdc8 100644
--- a/tdeui/kpushbutton.cpp
+++ b/tdeui/kpushbutton.cpp
@@ -98,7 +98,7 @@ void KPushButton::init( const KGuiItem &item )
setIconSet( d->item.iconSet() );
- tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum ) );
+ setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum ) );
TQToolTip::add( this, item.toolTip() );
diff --git a/tdeui/ksqueezedtextlabel.cpp b/tdeui/ksqueezedtextlabel.cpp
index fc2ea9660..63d85ab8f 100644
--- a/tdeui/ksqueezedtextlabel.cpp
+++ b/tdeui/ksqueezedtextlabel.cpp
@@ -22,14 +22,14 @@
KSqueezedTextLabel::KSqueezedTextLabel( const TQString &text , TQWidget *parent, const char *name )
: TQLabel ( parent, name ) {
- tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
+ setSizePolicy(TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
fullText = text;
squeezeTextToLabel();
}
KSqueezedTextLabel::KSqueezedTextLabel( TQWidget *parent, const char *name )
: TQLabel ( parent, name ) {
- tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
+ setSizePolicy(TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
}
void KSqueezedTextLabel::resizeEvent( TQResizeEvent * ) {
diff --git a/tdeui/kurllabel.cpp b/tdeui/kurllabel.cpp
index 9846059ed..f9f5591ce 100644
--- a/tdeui/kurllabel.cpp
+++ b/tdeui/kurllabel.cpp
@@ -436,9 +436,9 @@ void KURLLabel::setFocusPolicy( TQ_FocusPolicy policy )
}
}
-void KURLLabel::tqsetSizePolicy ( TQSizePolicy policy )
+void KURLLabel::setSizePolicy ( TQSizePolicy policy )
{
- TQLabel::tqsetSizePolicy(policy);
+ TQLabel::setSizePolicy(policy);
if (!d->MarginAltered && policy.horData()==TQSizePolicy::Fixed && policy.verData()==TQSizePolicy::Fixed) {
TQLabel::setMargin(0); //better default : better look when fixed size
}
diff --git a/tdeui/kurllabel.h b/tdeui/kurllabel.h
index e77b8d5e6..8eb086607 100644
--- a/tdeui/kurllabel.h
+++ b/tdeui/kurllabel.h
@@ -169,7 +169,7 @@ public:
/**
* Reimplemented for internal reasons, the API is not affected.
*/
- virtual void tqsetSizePolicy ( TQSizePolicy );
+ virtual void setSizePolicy ( TQSizePolicy );
public slots:
/**
diff --git a/tdeui/tests/kcomboboxtest.cpp b/tdeui/tests/kcomboboxtest.cpp
index e8fd35f7e..44b849b44 100644
--- a/tdeui/tests/kcomboboxtest.cpp
+++ b/tdeui/tests/kcomboboxtest.cpp
@@ -36,7 +36,7 @@ KComboBoxTest::KComboBoxTest(TQWidget* widget, const char* name )
TQHBox* hbox = new TQHBox(this);
hbox->setSpacing (KDialog::spacingHint());
TQLabel* lbl = new TQLabel("&QCombobox:", hbox);
- lbl->tqsetSizePolicy (TQSizePolicy::Maximum, TQSizePolicy::Preferred);
+ lbl->setSizePolicy (TQSizePolicy::Maximum, TQSizePolicy::Preferred);
m_qc = new TQComboBox(hbox, "QtReadOnlyCombo" );
lbl->setBuddy (m_qc);
@@ -48,7 +48,7 @@ KComboBoxTest::KComboBoxTest(TQWidget* widget, const char* name )
hbox = new TQHBox(this);
hbox->setSpacing (KDialog::spacingHint());
lbl = new TQLabel("&Read-Only Combo:", hbox);
- lbl->tqsetSizePolicy (TQSizePolicy::Maximum, TQSizePolicy::Preferred);
+ lbl->setSizePolicy (TQSizePolicy::Maximum, TQSizePolicy::Preferred);
m_ro = new KComboBox(hbox, "ReadOnlyCombo" );
lbl->setBuddy (m_ro);
@@ -61,7 +61,7 @@ KComboBoxTest::KComboBoxTest(TQWidget* widget, const char* name )
hbox = new TQHBox(this);
hbox->setSpacing (KDialog::spacingHint());
lbl = new TQLabel("&Editable Combo:", hbox);
- lbl->tqsetSizePolicy (TQSizePolicy::Maximum, TQSizePolicy::Preferred);
+ lbl->setSizePolicy (TQSizePolicy::Maximum, TQSizePolicy::Preferred);
m_rw = new KComboBox( true, hbox, "ReadWriteCombo" );
lbl->setBuddy (m_rw);
@@ -78,7 +78,7 @@ KComboBoxTest::KComboBoxTest(TQWidget* widget, const char* name )
hbox = new TQHBox(this);
hbox->setSpacing (KDialog::spacingHint());
lbl = new TQLabel("&History Combo:", hbox);
- lbl->tqsetSizePolicy (TQSizePolicy::Maximum, TQSizePolicy::Preferred);
+ lbl->setSizePolicy (TQSizePolicy::Maximum, TQSizePolicy::Preferred);
m_hc = new KHistoryCombo( true, hbox, "HistoryCombo" );
lbl->setBuddy (m_hc);
@@ -94,7 +94,7 @@ KComboBoxTest::KComboBoxTest(TQWidget* widget, const char* name )
hbox = new TQHBox(this);
hbox->setSpacing (KDialog::spacingHint());
lbl = new TQLabel( "&Konq's Combo:", hbox);
- lbl->tqsetSizePolicy (TQSizePolicy::Maximum, TQSizePolicy::Preferred);
+ lbl->setSizePolicy (TQSizePolicy::Maximum, TQSizePolicy::Preferred);
m_konqc = new KComboBox( true, hbox, "KonqyCombo" );
lbl->setBuddy (m_konqc);