summaryrefslogtreecommitdiffstats
path: root/ksirc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-02 15:53:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-04 10:31:40 +0900
commit203566f83535401b5013d37c4e319b1278a4d650 (patch)
treeaeeac7a86d9225fc54cc8c8c73df440fb9ba1ab5 /ksirc
parentc613d3df31b003c077f524cd7184590339b0c04d (diff)
downloadtdenetwork-203566f83535401b5013d37c4e319b1278a4d650.tar.gz
tdenetwork-203566f83535401b5013d37c4e319b1278a4d650.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d37705184967f236c728938b2824abbed628ce26)
Diffstat (limited to 'ksirc')
-rw-r--r--ksirc/colorpicker.cpp4
-rw-r--r--ksirc/topic.cpp2
-rw-r--r--ksirc/toplevel.cpp6
3 files changed, 6 insertions, 6 deletions
diff --git a/ksirc/colorpicker.cpp b/ksirc/colorpicker.cpp
index 848301df..84eb1eb0 100644
--- a/ksirc/colorpicker.cpp
+++ b/ksirc/colorpicker.cpp
@@ -45,7 +45,7 @@ ColorPicker::ColorPicker( TQWidget *parent, const char *name )
sampleLayout->addWidget( preview );
m_sample = new TQLineEdit( i18n( "Sample Text" ), sampleBox );
- m_sample->setFocusPolicy( TQ_NoFocus );
+ m_sample->setFocusPolicy( TQWidget::NoFocus );
m_sample->setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum,
m_sample->sizePolicy().verData() ) );
sampleLayout->addWidget( m_sample );
@@ -140,7 +140,7 @@ ColorBar::ColorBar( const TQValueVector<TQColor> &colors, TQWidget *parent,
updateCellSize();
- setFocusPolicy( TQ_StrongFocus );
+ setFocusPolicy( TQWidget::StrongFocus );
}
void ColorBar::drawContents( TQPainter *p )
diff --git a/ksirc/topic.cpp b/ksirc/topic.cpp
index 76f24488..b2ab5840 100644
--- a/ksirc/topic.cpp
+++ b/ksirc/topic.cpp
@@ -184,7 +184,7 @@ KSircTopicEditor::KSircTopicEditor( TQWidget *parent, const char *name )
: TQTextEdit( parent, name )
{
setWFlags( WDestructiveClose );
- setFocusPolicy( TQ_ClickFocus );
+ setFocusPolicy( TQWidget::ClickFocus );
connect( this, TQT_SIGNAL( textChanged () ), this, TQT_SLOT( slotMaybeResize() ) );
}
diff --git a/ksirc/toplevel.cpp b/ksirc/toplevel.cpp
index d0f05756..5bf678d2 100644
--- a/ksirc/toplevel.cpp
+++ b/ksirc/toplevel.cpp
@@ -244,7 +244,7 @@ KSircTopLevel::KSircTopLevel(KSircProcess *_proc, const KSircChannel &channelInf
#endif
mainw = new KSircView(ksircProcess(), pan, kstn + "KSircView" );
- mainw->setFocusPolicy(TQ_NoFocus);
+ mainw->setFocusPolicy(TQWidget::NoFocus);
nicks_box = new TQVBox(pan);
@@ -253,7 +253,7 @@ KSircTopLevel::KSircTopLevel(KSircProcess *_proc, const KSircChannel &channelInf
this, TQT_SLOT(setMode(TQString, int, TQString)));
nicks = new aListBox(nicks_box, kstn + "aListBox");
- nicks->setFocusPolicy(TQ_NoFocus);
+ nicks->setFocusPolicy(TQWidget::NoFocus);
//nicks->hide(); // default = only the main widget
lag = new TQLabel(nicks_box);
@@ -360,7 +360,7 @@ KSircTopLevel::KSircTopLevel(KSircProcess *_proc, const KSircChannel &channelInf
// setup line editor
- linee->setFocusPolicy(TQ_StrongFocus);
+ linee->setFocusPolicy(TQWidget::StrongFocus);
linee->setFont(ksopts->defaultFont);
if(ksopts->oneLineEntry == true) {