summaryrefslogtreecommitdiffstats
path: root/parts/documentation/find_documentation_options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/documentation/find_documentation_options.cpp')
-rw-r--r--parts/documentation/find_documentation_options.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/parts/documentation/find_documentation_options.cpp b/parts/documentation/find_documentation_options.cpp
index 68f37791..df04ca81 100644
--- a/parts/documentation/find_documentation_options.cpp
+++ b/parts/documentation/find_documentation_options.cpp
@@ -19,8 +19,8 @@
***************************************************************************/
#include "find_documentation_options.h"
-#include <qheader.h>
-#include <qcheckbox.h>
+#include <tqheader.h>
+#include <tqcheckbox.h>
#include <klistview.h>
#include <klocale.h>
@@ -28,7 +28,7 @@
#include <kconfig.h>
#include <kapplication.h>
-FindDocumentationOptions::FindDocumentationOptions(QWidget* parent, const char* name, bool modal)
+FindDocumentationOptions::FindDocumentationOptions(TQWidget* parent, const char* name, bool modal)
:FindDocumentationOptionsBase(parent,name, modal),
m_man_item(0), m_info_item(0), m_index_item(0), m_google_item(0), m_contents_item(0)
{
@@ -43,7 +43,7 @@ FindDocumentationOptions::~FindDocumentationOptions()
}
/*$SPECIALIZATION$*/
-bool FindDocumentationOptions::isContents( QCheckListItem * item )
+bool FindDocumentationOptions::isContents( TQCheckListItem * item )
{
if ( item == m_contents_item && m_contents_item->isOn() )
return true;
@@ -51,7 +51,7 @@ bool FindDocumentationOptions::isContents( QCheckListItem * item )
return false;
}
-bool FindDocumentationOptions::isGoogle( QCheckListItem * item )
+bool FindDocumentationOptions::isGoogle( TQCheckListItem * item )
{
if ( item == m_google_item && m_google_item->isOn() )
return true;
@@ -59,7 +59,7 @@ bool FindDocumentationOptions::isGoogle( QCheckListItem * item )
return false;
}
-bool FindDocumentationOptions::isIndex( QCheckListItem * item )
+bool FindDocumentationOptions::isIndex( TQCheckListItem * item )
{
if ( item == m_index_item && m_index_item->isOn() )
return true;
@@ -67,7 +67,7 @@ bool FindDocumentationOptions::isIndex( QCheckListItem * item )
return false;
}
-bool FindDocumentationOptions::isInfo( QCheckListItem * item )
+bool FindDocumentationOptions::isInfo( TQCheckListItem * item )
{
if ( item == m_info_item && m_info_item->isOn() )
return true;
@@ -75,7 +75,7 @@ bool FindDocumentationOptions::isInfo( QCheckListItem * item )
return false;
}
-bool FindDocumentationOptions::isMan( QCheckListItem * item )
+bool FindDocumentationOptions::isMan( TQCheckListItem * item )
{
if ( item == m_man_item && m_man_item->isOn() )
return true;
@@ -100,7 +100,7 @@ void FindDocumentationOptions::sourceMoveUp()
if (source_list->currentItem() == source_list->firstChild())
return;
- QListViewItem *item = source_list->firstChild();
+ TQListViewItem *item = source_list->firstChild();
while (item->nextSibling() != source_list->currentItem())
item = item->nextSibling();
item->moveItem( source_list->currentItem());
@@ -113,7 +113,7 @@ void FindDocumentationOptions::writeOptions()
config->writeEntry("goto_first_match", goto_first_match->isChecked());
- QListViewItemIterator it( source_list );
+ TQListViewItemIterator it( source_list );
int i = 0;
while ( it.current() )
{
@@ -160,27 +160,27 @@ void FindDocumentationOptions::readOptions()
{
if( config->readPropertyEntry( "Manpage" , 0 ) == i)
{
- m_man_item = new QCheckListItem( source_list, i18n("Manual"), QCheckListItem::CheckBox );
+ m_man_item = new TQCheckListItem( source_list, i18n("Manual"), TQCheckListItem::CheckBox );
m_man_item->setOn(config->readBoolEntry( "ManpageEnabled" , true));
}
if( config->readPropertyEntry( "Info" , 1 ) == i)
{
- m_info_item = new QCheckListItem( source_list, i18n("Info"), QCheckListItem::CheckBox );
+ m_info_item = new TQCheckListItem( source_list, i18n("Info"), TQCheckListItem::CheckBox );
m_info_item->setOn(config->readBoolEntry( "InfoEnabled" , true));
}
if( config->readPropertyEntry( "Index" , 2 ) == i)
{
- m_index_item = new QCheckListItem( source_list, i18n("Index"), QCheckListItem::CheckBox );
+ m_index_item = new TQCheckListItem( source_list, i18n("Index"), TQCheckListItem::CheckBox );
m_index_item->setOn(config->readBoolEntry( "IndexEnabled" , true));
}
if( config->readPropertyEntry( "Google" , 3 ) == i)
{
- m_google_item = new QCheckListItem( source_list, i18n("Google"), QCheckListItem::CheckBox );
+ m_google_item = new TQCheckListItem( source_list, i18n("Google"), TQCheckListItem::CheckBox );
m_google_item->setOn(config->readBoolEntry( "GoogleEnabled" , false));
}
if( config->readPropertyEntry( "Contents" , 4 ) == i)
{
- m_contents_item = new QCheckListItem( source_list, i18n("Contents"), QCheckListItem::CheckBox );
+ m_contents_item = new TQCheckListItem( source_list, i18n("Contents"), TQCheckListItem::CheckBox );
m_contents_item->setOn(config->readBoolEntry( "ContentsEnabled" , false));
}
}