diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-18 09:59:16 +0900 |
commit | 40393e30bb743346b6b40bf130da35419c12ebdc (patch) | |
tree | 9330d82486c7b3125b8275914565b324f9af523e /krdc | |
parent | 05594058244ba6a1866d5758ae412fb5afd6d727 (diff) | |
download | tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.tar.gz tdenetwork-40393e30bb743346b6b40bf130da35419c12ebdc.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f)
Diffstat (limited to 'krdc')
-rw-r--r-- | krdc/kfullscreenpanel.cpp | 6 | ||||
-rw-r--r-- | krdc/krdc.cpp | 64 | ||||
-rw-r--r-- | krdc/main.cpp | 10 | ||||
-rw-r--r-- | krdc/maindialog.cpp | 4 | ||||
-rw-r--r-- | krdc/maindialogwidget.cpp | 38 | ||||
-rw-r--r-- | krdc/preferencesdialog.cpp | 2 | ||||
-rw-r--r-- | krdc/rdp/krdpview.cpp | 8 | ||||
-rw-r--r-- | krdc/vnc/kvncview.cpp | 6 |
8 files changed, 69 insertions, 69 deletions
diff --git a/krdc/kfullscreenpanel.cpp b/krdc/kfullscreenpanel.cpp index 0c85cfdd..1546c8fa 100644 --- a/krdc/kfullscreenpanel.cpp +++ b/krdc/kfullscreenpanel.cpp @@ -20,7 +20,7 @@ Counter::Counter(float start) : m_currentValue(start) { - connect(&m_timer, TQT_SIGNAL(timeout()), TQT_SLOT(timeout())); + connect(&m_timer, TQ_SIGNAL(timeout()), TQ_SLOT(timeout())); } void Counter::count(float stop, float stepSize, float frequency) { @@ -63,8 +63,8 @@ KFullscreenPanel::KFullscreenPanel(TQWidget* parent, m_fsResolution(resolution), m_counter(0) { - connect(&m_counter, TQT_SIGNAL(countingDownFinished()), TQT_SLOT(hide())); - connect(&m_counter, TQT_SIGNAL(counted(float)), TQT_SLOT(movePanel(float))); + connect(&m_counter, TQ_SIGNAL(countingDownFinished()), TQ_SLOT(hide())); + connect(&m_counter, TQ_SIGNAL(counted(float)), TQ_SLOT(movePanel(float))); } KFullscreenPanel::~KFullscreenPanel() { diff --git a/krdc/krdc.cpp b/krdc/krdc.cpp index 0c82cdf1..1e86891d 100644 --- a/krdc/krdc.cpp +++ b/krdc/krdc.cpp @@ -101,8 +101,8 @@ KRDC::KRDC(WindowMode wm, const TQString &host, m_localCursor(localCursor), m_initialWindowSize(initialWindowSize) { - connect(&m_autoHideTimer, TQT_SIGNAL(timeout()), TQT_SLOT(hideFullscreenToolbarNow())); - connect(&m_bumpScrollTimer, TQT_SIGNAL(timeout()), TQT_SLOT(bumpScroll())); + connect(&m_autoHideTimer, TQ_SIGNAL(timeout()), TQ_SLOT(hideFullscreenToolbarNow())); + connect(&m_bumpScrollTimer, TQ_SIGNAL(timeout()), TQ_SLOT(bumpScroll())); m_pindown = UserIcon("pindown"); m_pinup = UserIcon("pinup"); @@ -192,18 +192,18 @@ bool KRDC::start() m_scrollView->addChild(m_view); TQWhatsThis::add(m_view, i18n("Here you can see the remote desktop. If the other side allows you to control it, you can also move the mouse, click or enter keystrokes. If the content does not fit your screen, click on the toolbar's full screen button or scale button. To end the connection, just close the window.")); - connect(m_view, TQT_SIGNAL(changeSize(int,int)), TQT_SLOT(setSize(int,int))); - connect(m_view, TQT_SIGNAL(connected()), TQT_SLOT(show())); - connect(m_view, TQT_SIGNAL(disconnected()), TQT_SIGNAL(disconnected())); + connect(m_view, TQ_SIGNAL(changeSize(int,int)), TQ_SLOT(setSize(int,int))); + connect(m_view, TQ_SIGNAL(connected()), TQ_SLOT(show())); + connect(m_view, TQ_SIGNAL(disconnected()), TQ_SIGNAL(disconnected())); // note that the disconnectedError() will be disconnected when kremoteview // is completely initialized - connect(m_view, TQT_SIGNAL(disconnectedError()), TQT_SIGNAL(disconnectedError())); - connect(m_view, TQT_SIGNAL(statusChanged(RemoteViewStatus)), - TQT_SLOT(changeProgress(RemoteViewStatus))); - connect(m_view, TQT_SIGNAL(showingPasswordDialog(bool)), - TQT_SLOT(showingPasswordDialog(bool))); - connect(m_keyCaptureDialog, TQT_SIGNAL(keyPressed(XEvent*)), - m_view, TQT_SLOT(pressKey(XEvent*))); + connect(m_view, TQ_SIGNAL(disconnectedError()), TQ_SIGNAL(disconnectedError())); + connect(m_view, TQ_SIGNAL(statusChanged(RemoteViewStatus)), + TQ_SLOT(changeProgress(RemoteViewStatus))); + connect(m_view, TQ_SIGNAL(showingPasswordDialog(bool)), + TQ_SLOT(showingPasswordDialog(bool))); + connect(m_keyCaptureDialog, TQ_SIGNAL(keyPressed(XEvent*)), + m_view, TQ_SLOT(pressKey(XEvent*))); ret_status = m_view->start(); @@ -219,8 +219,8 @@ void KRDC::changeProgress(RemoteViewStatus s) { m_progress = m_progressDialog->progressBar(); m_progress->setTextEnabled(false); m_progress->setTotalSteps(3); - connect(m_progressDialog, TQT_SIGNAL(cancelClicked()), - TQT_SIGNAL(disconnectedError())); + connect(m_progressDialog, TQ_SIGNAL(cancelClicked()), + TQ_SIGNAL(disconnectedError())); } if (s == REMOTE_VIEW_CONNECTING) { @@ -243,10 +243,10 @@ void KRDC::changeProgress(RemoteViewStatus s) { m_progress->setValue(3); hideProgressDialog(); if (s == REMOTE_VIEW_CONNECTED) { - TQObject::disconnect(m_view, TQT_SIGNAL(disconnectedError()), - this, TQT_SIGNAL(disconnectedError())); - connect(m_view, TQT_SIGNAL(disconnectedError()), - TQT_SIGNAL(disconnected())); + TQObject::disconnect(m_view, TQ_SIGNAL(disconnectedError()), + this, TQ_SIGNAL(disconnectedError())); + connect(m_view, TQ_SIGNAL(disconnectedError()), + TQ_SIGNAL(disconnected())); if (m_view->startFullscreen()) { // m_view instance is asking to start in fullscreen mode enableFullscreen(true); @@ -268,7 +268,7 @@ void KRDC::showingPasswordDialog(bool b) { void KRDC::showProgressDialog() { m_showProgress = true; - TQTimer::singleShot(400, this, TQT_SLOT(showProgressTimeout())); + TQTimer::singleShot(400, this, TQ_SLOT(showProgressTimeout())); } void KRDC::hideProgressDialog() { @@ -387,12 +387,12 @@ TQSize KRDC::sizeHint() TQPopupMenu *KRDC::createPopupMenu(TQWidget *parent) const { TDEPopupMenu *pu = new TDEPopupMenu(parent); - pu->insertItem(i18n("View Only"), this, TQT_SLOT(viewOnlyToggled()), 0, VIEW_ONLY_ID); + pu->insertItem(i18n("View Only"), this, TQ_SLOT(viewOnlyToggled()), 0, VIEW_ONLY_ID); pu->setCheckable(true); pu->setItemChecked(VIEW_ONLY_ID, m_view->viewOnly()); if (m_view->supportsLocalCursor()) { pu->insertItem(i18n("Always Show Local Cursor"), this, - TQT_SLOT(showLocalCursorToggled()), 0, + TQ_SLOT(showLocalCursorToggled()), 0, SHOW_LOCAL_CURSOR_ID); pu->setCheckable(true); pu->setItemChecked(SHOW_LOCAL_CURSOR_ID, @@ -475,8 +475,8 @@ void KRDC::switchToFullscreen(bool scaling) } m_fsToolbar = new KFullscreenPanel(this, "fstoolbar", m_fullscreenResolution); - connect(m_fsToolbar, TQT_SIGNAL(mouseEnter()), TQT_SLOT(showFullscreenToolbar())); - connect(m_fsToolbar, TQT_SIGNAL(mouseLeave()), TQT_SLOT(hideFullscreenToolbarDelayed())); + connect(m_fsToolbar, TQ_SIGNAL(mouseEnter()), TQ_SLOT(showFullscreenToolbar())); + connect(m_fsToolbar, TQ_SIGNAL(mouseLeave()), TQ_SLOT(hideFullscreenToolbarDelayed())); TDEToolBar *t = new TDEToolBar(m_fsToolbar); m_fsToolbarWidget = t; @@ -490,14 +490,14 @@ void KRDC::switchToFullscreen(bool scaling) pinButton->setIconSet(pinIconSet); TQToolTip::add(pinButton, i18n("Autohide on/off")); t->setToggle(FS_AUTOHIDE_ID); - t->addConnection(FS_AUTOHIDE_ID, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setFsToolbarAutoHide(bool))); + t->addConnection(FS_AUTOHIDE_ID, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(setFsToolbarAutoHide(bool))); t->insertButton("view-restore", FS_FULLSCREEN_ID); TDEToolBarButton *fullscreenButton = t->getButton(FS_FULLSCREEN_ID); TQToolTip::add(fullscreenButton, i18n("Fullscreen")); t->setToggle(FS_FULLSCREEN_ID); t->setButton(FS_FULLSCREEN_ID, true); - t->addConnection(FS_FULLSCREEN_ID, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(enableFullscreen(bool))); + t->addConnection(FS_FULLSCREEN_ID, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(enableFullscreen(bool))); m_popup = createPopupMenu(t); t->insertButton("configure", FS_ADVANCED_ID, m_popup, true, i18n("Advanced options")); @@ -517,18 +517,18 @@ void KRDC::switchToFullscreen(bool scaling) TQToolTip::add(scaleButton, i18n("Scale view")); t->setToggle(FS_SCALE_ID); t->setButton(FS_SCALE_ID, scaling); - t->addConnection(FS_SCALE_ID, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(switchToFullscreen(bool))); + t->addConnection(FS_SCALE_ID, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(switchToFullscreen(bool))); } t->insertButton("iconify", FS_ICONIFY_ID); TDEToolBarButton *iconifyButton = t->getButton(FS_ICONIFY_ID); TQToolTip::add(iconifyButton, i18n("Minimize")); - t->addConnection(FS_ICONIFY_ID, TQT_SIGNAL(clicked()), this, TQT_SLOT(iconify())); + t->addConnection(FS_ICONIFY_ID, TQ_SIGNAL(clicked()), this, TQ_SLOT(iconify())); t->insertButton("close", FS_CLOSE_ID); TDEToolBarButton *closeButton = t->getButton(FS_CLOSE_ID); TQToolTip::add(closeButton, i18n("Close")); - t->addConnection(FS_CLOSE_ID, TQT_SIGNAL(clicked()), this, TQT_SLOT(quit())); + t->addConnection(FS_CLOSE_ID, TQ_SIGNAL(clicked()), this, TQ_SLOT(quit())); m_fsToolbar->setChild(t); @@ -591,14 +591,14 @@ void KRDC::switchToNormal(bool scaling) TDEToolBar *t = new TDEToolBar(m_dockArea); m_toolbar = t; t->setIconText(TDEToolBar::IconTextRight); - connect(t, TQT_SIGNAL(placeChanged(TQDockWindow::Place)), TQT_SLOT(toolbarChanged())); + connect(t, TQ_SIGNAL(placeChanged(TQDockWindow::Place)), TQ_SLOT(toolbarChanged())); t->insertButton("view-fullscreen", 0, true, i18n("Fullscreen")); TDEToolBarButton *fullscreenButton = t->getButton(0); TQToolTip::add(fullscreenButton, i18n("Fullscreen")); TQWhatsThis::add(fullscreenButton, i18n("Switches to full screen. If the remote desktop has a different screen resolution, Remote Desktop Connection will automatically switch to the nearest resolution.")); t->setToggle(0); t->setButton(0, false); - t->addConnection(0, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(enableFullscreen(bool))); + t->addConnection(0, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(enableFullscreen(bool))); if (m_view->supportsScaling()) { t->insertButton("zoom-fit-best", 1, true, i18n("Scale")); @@ -607,14 +607,14 @@ void KRDC::switchToNormal(bool scaling) TQWhatsThis::add(scaleButton, i18n("This option scales the remote screen to fit your window size.")); t->setToggle(1); t->setButton(1, scaling); - t->addConnection(1, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(switchToNormal(bool))); + t->addConnection(1, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(switchToNormal(bool))); } t->insertButton("key_enter", 2, true, i18n("Special Keys")); TDEToolBarButton *skButton = t->getButton(2); TQToolTip::add(skButton, i18n("Enter special keys.")); TQWhatsThis::add(skButton, i18n("This option allows you to send special key combinations like Ctrl-Alt-Del to the remote host.")); - t->addConnection(2, TQT_SIGNAL(clicked()), m_keyCaptureDialog, TQT_SLOT(execute())); + t->addConnection(2, TQ_SIGNAL(clicked()), m_keyCaptureDialog, TQ_SLOT(execute())); if (m_popup) { m_popup->deleteLater(); diff --git a/krdc/main.cpp b/krdc/main.cpp index 1488df43..11106084 100644 --- a/krdc/main.cpp +++ b/krdc/main.cpp @@ -192,7 +192,7 @@ int MainController::main() { } void MainController::errorRestartRequested() { - TQTimer::singleShot(0, this, TQT_SLOT(errorRestart())); + TQTimer::singleShot(0, this, TQ_SLOT(errorRestart())); } bool MainController::start() { @@ -201,10 +201,10 @@ bool MainController::start() { m_scale, m_localCursor, m_initialWindowSize); m_app->setMainWidget(m_krdc); - TQObject::connect(m_krdc, TQT_SIGNAL(disconnected()), - m_app, TQT_SLOT(quit())); - connect(m_krdc, TQT_SIGNAL(disconnectedError()), - TQT_SLOT(errorRestartRequested())); + TQObject::connect(m_krdc, TQ_SIGNAL(disconnected()), + m_app, TQ_SLOT(quit())); + connect(m_krdc, TQ_SIGNAL(disconnectedError()), + TQ_SLOT(errorRestartRequested())); return m_krdc->start(); } diff --git a/krdc/maindialog.cpp b/krdc/maindialog.cpp index 88310d57..11546308 100644 --- a/krdc/maindialog.cpp +++ b/krdc/maindialog.cpp @@ -36,8 +36,8 @@ MainDialog::MainDialog( TQWidget *parent, const char *name ) setButtonText( Ok, i18n( "Connect" ) ); enableButtonOK( false ); - connect( m_dialogWidget, TQT_SIGNAL( hostValid( bool ) ), - TQT_SLOT( enableButtonOK( bool ) ) ); + connect( m_dialogWidget, TQ_SIGNAL( hostValid( bool ) ), + TQ_SLOT( enableButtonOK( bool ) ) ); } void MainDialog::setRemoteHost( const TQString &host ) diff --git a/krdc/maindialogwidget.cpp b/krdc/maindialogwidget.cpp index 93b39a43..3fa4dc23 100644 --- a/krdc/maindialogwidget.cpp +++ b/krdc/maindialogwidget.cpp @@ -92,26 +92,26 @@ MainDialogWidget::MainDialogWidget( TQWidget *parent, const char *name ) m_searchInput->setTrapReturnKey( true ); connect( m_browsingView, - TQT_SIGNAL( selectionChanged( TQListViewItem * ) ), - TQT_SLOT( itemSelected( TQListViewItem * ) ) ); + TQ_SIGNAL( selectionChanged( TQListViewItem * ) ), + TQ_SLOT( itemSelected( TQListViewItem * ) ) ); connect( m_browsingView, - TQT_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int ) ), - TQT_SLOT( itemDoubleClicked( TQListViewItem * ) ) ); + TQ_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int ) ), + TQ_SLOT( itemDoubleClicked( TQListViewItem * ) ) ); connect( m_scopeCombo, - TQT_SIGNAL( activated( const TQString & ) ), - TQT_SLOT( scopeSelected( const TQString & ) ) ); + TQ_SIGNAL( activated( const TQString & ) ), + TQ_SLOT( scopeSelected( const TQString & ) ) ); connect( m_serverInput, - TQT_SIGNAL( returnPressed( const TQString & ) ), - TQT_SLOT( rescan() ) ); + TQ_SIGNAL( returnPressed( const TQString & ) ), + TQ_SLOT( rescan() ) ); bool showBrowse = hp->showBrowsingPanel(); enableBrowsingArea( showBrowse ); m_locator_dnssd = new DNSSD::ServiceBrowser(TQStringList::split(',',"_rfb._tcp,_rdp._tcp"),0,DNSSD::ServiceBrowser::AutoResolve); - connect(m_locator_dnssd,TQT_SIGNAL(serviceAdded(DNSSD::RemoteService::Ptr)), - TQT_SLOT(addedService(DNSSD::RemoteService::Ptr))); - connect(m_locator_dnssd,TQT_SIGNAL(serviceRemoved(DNSSD::RemoteService::Ptr)), - TQT_SLOT(removedService(DNSSD::RemoteService::Ptr))); + connect(m_locator_dnssd,TQ_SIGNAL(serviceAdded(DNSSD::RemoteService::Ptr)), + TQ_SLOT(addedService(DNSSD::RemoteService::Ptr))); + connect(m_locator_dnssd,TQ_SIGNAL(serviceRemoved(DNSSD::RemoteService::Ptr)), + TQ_SLOT(removedService(DNSSD::RemoteService::Ptr))); m_locator_dnssd->startBrowse(); adjustSize(); @@ -179,7 +179,7 @@ void MainDialogWidget::enableBrowsingArea( bool enable ) setMinimumSize(minimumSize().width(), (h > 0) ? h : 0); resize(width(), height()-hOffset); - TQTimer::singleShot( 0, parentWidget(), TQT_SLOT( adjustSize() ) ); + TQTimer::singleShot( 0, parentWidget(), TQ_SLOT( adjustSize() ) ); } if (enable) @@ -259,12 +259,12 @@ bool MainDialogWidget::ensureLocatorOpen() return false; } - connect( m_locator, TQT_SIGNAL( foundService( TQString,int ) ), - TQT_SLOT( foundService( TQString,int ) ) ); - connect( m_locator, TQT_SIGNAL( lastServiceSignal( bool ) ), - TQT_SLOT( lastSignalServices( bool ) ) ); - connect( m_locator, TQT_SIGNAL( foundScopes( TQStringList ) ), - TQT_SLOT( foundScopes( TQStringList ) ) ); + connect( m_locator, TQ_SIGNAL( foundService( TQString,int ) ), + TQ_SLOT( foundService( TQString,int ) ) ); + connect( m_locator, TQ_SIGNAL( lastServiceSignal( bool ) ), + TQ_SLOT( lastSignalServices( bool ) ) ); + connect( m_locator, TQ_SIGNAL( foundScopes( TQStringList ) ), + TQ_SLOT( foundScopes( TQStringList ) ) ); return true; } diff --git a/krdc/preferencesdialog.cpp b/krdc/preferencesdialog.cpp index acb819ba..e18368fa 100644 --- a/krdc/preferencesdialog.cpp +++ b/krdc/preferencesdialog.cpp @@ -42,7 +42,7 @@ PreferencesDialog::PreferencesDialog( TQWidget *parent, const char *name ) page = addVBoxPage( i18n( "&Host Profiles" ) ); m_hostProfiles = new HostProfiles( page, "m_hostProfiles" ); - connect( m_hostProfiles, TQT_SIGNAL( hostDoubleClicked(HostPrefPtr) ), this, TQT_SLOT( slotHostDoubleClicked(HostPrefPtr) )); + connect( m_hostProfiles, TQ_SIGNAL( hostDoubleClicked(HostPrefPtr) ), this, TQ_SLOT( slotHostDoubleClicked(HostPrefPtr) )); page = addVBoxPage( i18n( "&VNC Defaults" ) ); m_vncPrefs = new VncPrefs( page, "m_vncPrefs" ); diff --git a/krdc/rdp/krdpview.cpp b/krdc/rdp/krdpview.cpp index 057c6fe6..8278d67e 100644 --- a/krdc/rdp/krdpview.cpp +++ b/krdc/rdp/krdpview.cpp @@ -291,10 +291,10 @@ bool KRdpView::start() *m_process << "-X" << ("0x" + TQString::number(m_container->winId(), 16)); *m_process << "-a" << TQString::number(hp->colorDepth()); *m_process << (m_host + ":" + TQString::number(m_port)); - connect(m_process, TQT_SIGNAL(processExited(TDEProcess *)), TQT_SLOT(processDied(TDEProcess *))); - connect(m_process, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)), TQT_SLOT(receivedStderr(TDEProcess *, char *, int))); - connect(m_container, TQT_SIGNAL(embeddedWindowDestroyed()), TQT_SLOT(connectionClosed())); - connect(m_container, TQT_SIGNAL(newEmbeddedWindow(WId)), TQT_SLOT(connectionOpened(WId))); + connect(m_process, TQ_SIGNAL(processExited(TDEProcess *)), TQ_SLOT(processDied(TDEProcess *))); + connect(m_process, TQ_SIGNAL(receivedStderr(TDEProcess *, char *, int)), TQ_SLOT(receivedStderr(TDEProcess *, char *, int))); + connect(m_container, TQ_SIGNAL(embeddedWindowDestroyed()), TQ_SLOT(connectionClosed())); + connect(m_container, TQ_SIGNAL(newEmbeddedWindow(WId)), TQ_SLOT(connectionOpened(WId))); tqDebug("Color depth: %d", hp->colorDepth()); if(!m_process->start(TDEProcess::NotifyOnExit, TDEProcess::Stderr)) { diff --git a/krdc/vnc/kvncview.cpp b/krdc/vnc/kvncview.cpp index d30ea356..88219776 100644 --- a/krdc/vnc/kvncview.cpp +++ b/krdc/vnc/kvncview.cpp @@ -94,8 +94,8 @@ KVncView::KVncView(TQWidget *parent, setFocusPolicy(TQWidget::StrongFocus); m_cb = TQApplication::clipboard(); - connect(m_cb, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(selectionChanged())); - connect(m_cb, TQT_SIGNAL(dataChanged()), this, TQT_SLOT(clipboardChanged())); + connect(m_cb, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(selectionChanged())); + connect(m_cb, TQ_SIGNAL(dataChanged()), this, TQ_SLOT(clipboardChanged())); TDEStandardDirs *dirs = TDEGlobal::dirs(); TQBitmap cursorBitmap(dirs->findResource("appdata", @@ -290,7 +290,7 @@ bool KVncView::start() { setStatus(REMOTE_VIEW_CONNECTING); m_cthreadObject.moveToThread(&m_cthread); - TQTimer::singleShot(0, &m_cthreadObject, SLOT(run())); + TQTimer::singleShot(0, &m_cthreadObject, TQ_SLOT(run())); m_cthread.start(); setBackgroundMode(TQt::NoBackground); |