summaryrefslogtreecommitdiffstats
path: root/ksirc
diff options
context:
space:
mode:
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) {