Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/4/head
Michele Calgaro 1 year ago
parent 3514120327
commit d027296633
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -26,7 +26,7 @@ bool Synchronous::enterLoop()
TQWidget *dummy = 0;
if ( tqApp->type()!=TQApplication::Tty ) {
dummy = new TQWidget(0, 0, WType_Dialog | WShowModal);
dummy->setFocusPolicy(TQ_NoFocus);
dummy->setFocusPolicy(TQWidget::NoFocus);
tqt_enter_modal(dummy);
}
TQApplication::eventLoop()->enterLoop();

@ -31,7 +31,7 @@ TQValidator::State HexValueValidator::validate(TQString &input, int &) const
GenericHexWordEditor::GenericHexWordEditor(uint nbChars, bool hasBlankValue, TQWidget *parent)
: KLineEdit(parent, "hex_word_editor"), _nbChars(nbChars), _hasBlankValue(hasBlankValue)
{
setFocusPolicy(TQ_ClickFocus);
setFocusPolicy(TQWidget::ClickFocus);
setValidator(new HexValueValidator(nbChars, TQT_TQOBJECT(this)));
connect(this, TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT(slotTextChanged()));
setFrame(false);

@ -137,19 +137,19 @@ MainWindow::MainWindow()
dock = createDock("compile_log_dock_widget", loader.loadIcon("piklab_compile", TDEIcon::Small),
i18n("Compile Log"), DockPosition(KDockWidget::DockBottom, 80));
Main::_compileLog = new Compile::LogWidget(dock);
Main::_compileLog->setFocusPolicy(TQ_NoFocus);
Main::_compileLog->setFocusPolicy(TQWidget::NoFocus);
dock->setWidget(Main::_compileLog);
dock = createDock("program_log_dock_widget", loader.loadIcon("piklab_burnchip", TDEIcon::Small),
i18n("Program Log"), DockPosition("compile_log_dock_widget"));
_programLog = new Log::Widget(dock, "program_log");
_programLog->setFocusPolicy(TQ_NoFocus);
_programLog->setFocusPolicy(TQWidget::NoFocus);
dock->setWidget(_programLog);
dock = createDock("breakpoints_dock_widget", loader.loadIcon("piklab_breakpoint_active", TDEIcon::Small),
i18n("Breakpoints"), DockPosition("compile_log_dock_widget"));
Main::_breakpointsView = new Breakpoint::View(dock);
Main::_breakpointsView->setFocusPolicy(TQ_NoFocus);
Main::_breakpointsView->setFocusPolicy(TQWidget::NoFocus);
dock->setWidget(Main::_breakpointsView);
dock = createDock("console_dock_widget", loader.loadIcon("konsole", TDEIcon::Small),

Loading…
Cancel
Save