Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit cba78c439a)
r14.1.x r14.1.1
Michele Calgaro 1 year ago
parent 04e6c49e9c
commit 3f8cbc7f57
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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");

@ -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();

@ -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()));

@ -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();

@ -41,7 +41,7 @@ namespace Konversation
: KActiveLabel(parent, name)
{
setWrapPolicy(TQTextEdit::AtWordOrDocumentBoundary);
setFocusPolicy(TQ_ClickFocus);
setFocusPolicy(TQWidget::ClickFocus);
m_isOnChannel = false;
m_copyUrlMenu = false;

Loading…
Cancel
Save