summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--konversation/src/ircview.cpp2
-rw-r--r--konversation/src/konsolepanel.cpp2
-rw-r--r--konversation/src/logfilereader.cpp4
-rw-r--r--konversation/src/osd.cpp2
-rw-r--r--konversation/src/topiclabel.cpp2
5 files changed, 6 insertions, 6 deletions
diff --git a/konversation/src/ircview.cpp b/konversation/src/ircview.cpp
index 6f86aff..89dca72 100644
--- a/konversation/src/ircview.cpp
+++ b/konversation/src/ircview.cpp
@@ -93,7 +93,7 @@ IRCView::IRCView(TQWidget* parent, Server* newServer) : KTextBrowser(parent)
setHScrollBarMode(AlwaysOff);
setWrapPolicy(TQTextEdit::AtWordOrDocumentBoundary);
setNotifyClick(true);
- setFocusPolicy(TQ_ClickFocus);
+ setFocusPolicy(TQWidget::ClickFocus);
// set basic style sheet for <p> to make paragraph spacing possible
TQStyleSheet* sheet=new TQStyleSheet(TQT_TQOBJECT(this),"ircview_style_sheet");
diff --git a/konversation/src/konsolepanel.cpp b/konversation/src/konsolepanel.cpp
index e604d37..d54ee5b 100644
--- a/konversation/src/konsolepanel.cpp
+++ b/konversation/src/konsolepanel.cpp
@@ -28,7 +28,7 @@ KonsolePanel::KonsolePanel(TQWidget *p) : ChatWindow( p ), k_part (0)
k_part = (KParts::ReadOnlyPart *) fact->create(TQT_TQOBJECT(this));
if (!k_part) return;
- k_part->widget()->setFocusPolicy(TQ_WheelFocus);
+ k_part->widget()->setFocusPolicy(TQWidget::WheelFocus);
setFocusProxy(k_part->widget());
k_part->widget()->setFocus();
diff --git a/konversation/src/logfilereader.cpp b/konversation/src/logfilereader.cpp
index e5cea7f..98514dd 100644
--- a/konversation/src/logfilereader.cpp
+++ b/konversation/src/logfilereader.cpp
@@ -63,8 +63,8 @@ LogfileReader::LogfileReader(TQWidget* parent, const TQString& log) : ChatWindow
updateView();
resize(Preferences::logfileReaderSize());
- ircBox->ircView()->setFocusPolicy(TQ_StrongFocus);
- setFocusPolicy(TQ_StrongFocus);
+ ircBox->ircView()->setFocusPolicy(TQWidget::StrongFocus);
+ setFocusPolicy(TQWidget::StrongFocus);
setFocusProxy(ircBox->ircView());
connect(getTextView(), TQT_SIGNAL(gotFocus()), getTextView(), TQT_SLOT(setFocus()));
diff --git a/konversation/src/osd.cpp b/konversation/src/osd.cpp
index d342bab..a1567ab 100644
--- a/konversation/src/osd.cpp
+++ b/konversation/src/osd.cpp
@@ -39,7 +39,7 @@ OSDWidget::OSDWidget( const TQString &appName, TQWidget *parent, const char *nam
, m_y( MARGIN )
, m_dirty( false )
{
- setFocusPolicy( TQ_NoFocus );
+ setFocusPolicy( TQWidget::NoFocus );
setBackgroundMode( NoBackground );
unsetColors();
diff --git a/konversation/src/topiclabel.cpp b/konversation/src/topiclabel.cpp
index 773ac33..7036549 100644
--- a/konversation/src/topiclabel.cpp
+++ b/konversation/src/topiclabel.cpp
@@ -41,7 +41,7 @@ namespace Konversation
: KActiveLabel(parent, name)
{
setWrapPolicy(TQTextEdit::AtWordOrDocumentBoundary);
- setFocusPolicy(TQ_ClickFocus);
+ setFocusPolicy(TQWidget::ClickFocus);
m_isOnChannel = false;
m_copyUrlMenu = false;