diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/kchmkeyeventfilter.cpp | 2 | ||||
-rw-r--r-- | src/kchmmainwindow.cpp | 2 | ||||
-rw-r--r-- | src/kchmsearchtoolbar.cpp | 2 | ||||
-rw-r--r-- | src/kchmsearchwindow.cpp | 2 | ||||
-rw-r--r-- | src/kchmsetupdialog_impl.h | 2 | ||||
-rw-r--r-- | src/kchmviewwindow_qtextbrowser.cpp | 6 | ||||
-rw-r--r-- | src/tde/kchmviewwindow_tdehtmlpart.cpp | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/src/kchmkeyeventfilter.cpp b/src/kchmkeyeventfilter.cpp index 984c457..ef7dc9a 100644 --- a/src/kchmkeyeventfilter.cpp +++ b/src/kchmkeyeventfilter.cpp @@ -49,5 +49,5 @@ bool KCHMKeyEventFilter::eventFilter( TQObject *, TQEvent *e ) *ptr = e->type() == TQEvent::KeyPress ? true : false; } - return FALSE; // Standard event processing + return false; // Standard event processing } diff --git a/src/kchmmainwindow.cpp b/src/kchmmainwindow.cpp index f6391d2..0abfdb7 100644 --- a/src/kchmmainwindow.cpp +++ b/src/kchmmainwindow.cpp @@ -1056,7 +1056,7 @@ void KCHMMainWindow::slotExtractCHM( ) this, 0, i18n("Choose a directory to store CHM content"), - TRUE ); + true ); #endif if ( outdir.isEmpty() ) diff --git a/src/kchmsearchtoolbar.cpp b/src/kchmsearchtoolbar.cpp index 2c7e272..a600f36 100644 --- a/src/kchmsearchtoolbar.cpp +++ b/src/kchmsearchtoolbar.cpp @@ -61,7 +61,7 @@ KCHMSearchAndViewToolbar::KCHMSearchAndViewToolbar( KCHMMainWindow * parent ) TQPixmap iconLocateInContent (*gIconStorage.getToolbarPixmap(KCHMIconStorage::locate_in_content)); // Create the combobox to enter the find text - m_findBox = new TQComboBox (TRUE, this); + m_findBox = new TQComboBox (true, this); m_findBox->setMinimumWidth (200); connect( m_findBox->lineEdit(), TQ_SIGNAL( returnPressed() ), this, TQ_SLOT( onReturnPressed() ) ); TQWhatsThis::add( m_findBox, i18n( "Enter here the text to search in the current page.") ); diff --git a/src/kchmsearchwindow.cpp b/src/kchmsearchwindow.cpp index 8d936c7..2143e74 100644 --- a/src/kchmsearchwindow.cpp +++ b/src/kchmsearchwindow.cpp @@ -50,7 +50,7 @@ KCHMSearchWindow::KCHMSearchWindow( TQWidget * parent, const char * name, WFlags labellayout->addWidget ( helplink ); layout->addLayout( labellayout ); - m_searchQuery = new TQComboBox (TRUE, this); + m_searchQuery = new TQComboBox (true, this); m_searchQuery->setFocus(); m_searchQuery->setMaxCount (10); m_searchQuery->setSizePolicy ( TQSizePolicy ( TQSizePolicy::Expanding, TQSizePolicy::Fixed ) ); diff --git a/src/kchmsetupdialog_impl.h b/src/kchmsetupdialog_impl.h index 1f35dde..a978040 100644 --- a/src/kchmsetupdialog_impl.h +++ b/src/kchmsetupdialog_impl.h @@ -25,7 +25,7 @@ class KCHMSetupDialog_impl : public KCHMSetupDialog TQ_OBJECT public: - KCHMSetupDialog_impl( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + KCHMSetupDialog_impl( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); public slots: void slotShowHelp(); diff --git a/src/kchmviewwindow_qtextbrowser.cpp b/src/kchmviewwindow_qtextbrowser.cpp index d3f1f72..6ea8b20 100644 --- a/src/kchmviewwindow_qtextbrowser.cpp +++ b/src/kchmviewwindow_qtextbrowser.cpp @@ -133,7 +133,7 @@ bool KCHMViewWindow_QTextBrowser::printCurrentPage( ) { #if !defined (TQT_NO_PRINTER) TQPrinter printer( TQPrinter::HighResolution ); - printer.setFullPage(TRUE); + printer.setFullPage(true); if ( printer.setup( this ) ) { @@ -174,7 +174,7 @@ bool KCHMViewWindow_QTextBrowser::printCurrentPage( ) printer.newPage(); page++; } - while (TRUE); + while (true); ::mainWindow->showInStatusBar( i18n( "Printing completed") ); return true; @@ -213,7 +213,7 @@ void KCHMViewWindow_QTextBrowser::searchWord( const TQString & word, bool forwar void KCHMViewWindow_QTextBrowser::clipSelectAll( ) { - selectAll (TRUE); + selectAll (true); } void KCHMViewWindow_QTextBrowser::clipCopy( ) diff --git a/src/tde/kchmviewwindow_tdehtmlpart.cpp b/src/tde/kchmviewwindow_tdehtmlpart.cpp index ad4a617..fc6a3ad 100644 --- a/src/tde/kchmviewwindow_tdehtmlpart.cpp +++ b/src/tde/kchmviewwindow_tdehtmlpart.cpp @@ -64,7 +64,7 @@ bool KCHMViewWindow_TDEHTMLPart::openPage (const TQString& url) if ( m_currentEncoding != ::mainWindow->chmFile()->currentEncoding() ) { m_currentEncoding = ::mainWindow->chmFile()->currentEncoding(); - setEncoding ( m_currentEncoding->qtcodec, TRUE ); + setEncoding ( m_currentEncoding->qtcodec, true ); } TQString fullurl = "ms-its:" + ::mainWindow->getOpenedFileName() + "::" + url; |