rename the following methods:

tqparent parent
tqmask mask


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/bibletime@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent fbb51be9cf
commit 50d6a8e70c

@ -27,7 +27,7 @@ class CSwordBookModuleInfo : public CSwordModuleInfo {
public:
/** Constructor.
* @param module The module which belongs to this object
* @param backend The tqparent backend for this book module.
* @param backend The parent backend for this book module.
*/
CSwordBookModuleInfo( sword::SWModule* module, CSwordBackend* const backend = CPointers::backend() );
/** Copy constructor.

@ -324,7 +324,7 @@ void BibleTime::slotToggleToolbar() {
/** Shows or hides the groupmanager.
*/
void BibleTime::slotToggleMainIndex() {
//we use the tqparent widget because the main index is enclosed in a tqlayout which adds the label at the top
//we use the parent widget because the main index is enclosed in a tqlayout which adds the label at the top
if (m_viewMainIndex_action->isChecked()) {
m_mainIndex->parentWidget()->show();
}

@ -91,7 +91,7 @@ namespace BookshelfManager {
filename = LocalConfig::swordConfigFilename();
directAccess = true;
}
else if ( !i.exists() && dirInfo.isWritable() ) { // if the file doesn't exist but th etqparent is writable for us, create it
else if ( !i.exists() && dirInfo.isWritable() ) { // if the file doesn't exist but th eparent is writable for us, create it
filename = LocalConfig::swordConfigFilename();
directAccess = true;
}

@ -47,8 +47,8 @@ using namespace sword;
namespace InfoDisplay {
CInfoDisplay::CInfoDisplay(TQWidget *tqparent, const char *name)
: TQWidget(tqparent, name) {
CInfoDisplay::CInfoDisplay(TQWidget *parent, const char *name)
: TQWidget(parent, name) {
TQVBoxLayout* tqlayout = new TQVBoxLayout(this);
TQLabel* headingLabel = new TQLabel(i18n("Mag (\"shift\" to lock)"),this);
headingLabel->setMargin(5);
@ -267,7 +267,7 @@ namespace InfoDisplay {
}
// qWarning("rendered the tree: %s", renderer.renderKeyTree(tree).latin1());
//spanns containing rtl text need dir=rtl on their tqparent tag to be aligned properly
//spanns containing rtl text need dir=rtl on their parent tag to be aligned properly
return TQString("<div class=\"crossrefinfo\"><h3>%1</h3><div class=\"para\" dir=\"%2\">%3</div></div>")
.tqarg(i18n("Cross references"))
.tqarg(module ? ((module->textDirection() == CSwordModuleInfo::LeftToRight) ? "ltr" : "rtl") : "")

@ -46,7 +46,7 @@ public:
typedef TQPair<InfoType, TQString> InfoData;
typedef TQValueList<InfoData> ListInfoData;
CInfoDisplay(TQWidget *tqparent = 0, const char *name = 0);
CInfoDisplay(TQWidget *parent = 0, const char *name = 0);
virtual ~CInfoDisplay();
void setInfo(const InfoType, const TQString& data);

@ -23,7 +23,7 @@
#include <klocale.h>
#include <kseparator.h>
CInputDialog::CInputDialog(const TQString& caption, const TQString& description, const TQString& text, TQWidget *tqparent, const char *name, const bool modal ) : KDialog(tqparent,name,modal) {
CInputDialog::CInputDialog(const TQString& caption, const TQString& description, const TQString& text, TQWidget *parent, const char *name, const bool modal ) : KDialog(parent,name,modal) {
setPlainCaption(caption);
TQVBoxLayout* topLayout = new TQVBoxLayout(this, 5,5);
@ -76,8 +76,8 @@ const TQString CInputDialog::text() {
}
/** A static function to get some using CInputDialog. */
const TQString CInputDialog::getText( const TQString& caption, const TQString& description, const TQString& text, bool* ok, TQWidget* tqparent, bool modal) {
CInputDialog* dlg = new CInputDialog(caption, description, text, tqparent, "", modal);
const TQString CInputDialog::getText( const TQString& caption, const TQString& description, const TQString& text, bool* ok, TQWidget* parent, bool modal) {
CInputDialog* dlg = new CInputDialog(caption, description, text, parent, "", modal);
TQString ret = TQString();
const bool isOk = (dlg->exec() == CInputDialog::Accepted);

@ -26,11 +26,11 @@ class CInputDialog : public KDialog {
Q_OBJECT
TQ_OBJECT
public:
CInputDialog(const TQString& caption, const TQString& description, const TQString& text, TQWidget *tqparent=0, const char *name=0, const bool modal = true);
CInputDialog(const TQString& caption, const TQString& description, const TQString& text, TQWidget *parent=0, const char *name=0, const bool modal = true);
/**
* A static function to get some using CInputDialog.
*/
static const TQString getText( const TQString& caption, const TQString& description, const TQString& text = TQString(), bool* ok = 0, TQWidget* tqparent = 0, bool modal = true);
static const TQString getText( const TQString& caption, const TQString& description, const TQString& text = TQString(), bool* ok = 0, TQWidget* parent = 0, bool modal = true);
/**
* Returns the text entered at the moment.
*/

@ -40,8 +40,8 @@
namespace BookshelfManager {
/** Constructor */
CManageIndicesWidget::CManageIndicesWidget(TQWidget* tqparent, const char* name) :
ManageIndicesForm(tqparent, name) {
CManageIndicesWidget::CManageIndicesWidget(TQWidget* parent, const char* name) :
ManageIndicesForm(parent, name) {
initView();
populateModuleList();

@ -34,7 +34,7 @@ public:
/**
* Constructor
*/
CManageIndicesWidget(TQWidget* tqparent, const char* name = 0);
CManageIndicesWidget(TQWidget* parent, const char* name = 0);
/**
* Destructor

@ -30,8 +30,8 @@
#include <tqtimer.h>
CMDIArea::CMDIArea(TQWidget *tqparent, const char *name )
: TQWorkspace(tqparent, name),
CMDIArea::CMDIArea(TQWidget *parent, const char *name )
: TQWorkspace(parent, name),
m_guiOption(Nothing),
m_childEvent(false),
m_appCaption(TQString()) {

@ -44,7 +44,7 @@ public:
autoCascade,
Nothing
};
CMDIArea(TQWidget *tqparent, const char *name = 0 );
CMDIArea(TQWidget *parent, const char *name = 0 );
/**
*/
void readSettings();

@ -71,8 +71,8 @@
using std::string;
using std::list;
COptionsDialog::COptionsDialog(TQWidget *tqparent, const char *name, KActionCollection* actionCollection )
: KDialogBase(IconList, i18n("Configure BibleTime"), Ok | Cancel | Apply, Ok, tqparent, name, true, true, TQString(), TQString(), TQString()) {
COptionsDialog::COptionsDialog(TQWidget *parent, const char *name, KActionCollection* actionCollection )
: KDialogBase(IconList, i18n("Configure BibleTime"), Ok | Cancel | Apply, Ok, parent, name, true, true, TQString(), TQString(), TQString()) {
m_settings.keys.application.actionCollection = actionCollection;
setIconListAllVisible(true);
@ -84,7 +84,7 @@ COptionsDialog::COptionsDialog(TQWidget *tqparent, const char *name, KActionColl
}
COptionsDialog::~COptionsDialog() {
//the actionCollections objects are deleted by their TQWidget tqparent
//the actionCollections objects are deleted by their TQWidget parent
}
/** */

@ -55,7 +55,7 @@ class COptionsDialog : public KDialogBase, public CPointers {
TQ_OBJECT
public:
COptionsDialog(TQWidget *tqparent, const char *name, KActionCollection* actionCollection);
COptionsDialog(TQWidget *parent, const char *name, KActionCollection* actionCollection);
virtual ~COptionsDialog();
enum Parts {

@ -36,7 +36,7 @@ class CPrinter : public TQObject, public Rendering::CDisplayRendering {
TQ_OBJECT
public:
CPrinter(
TQObject *tqparent, CSwordBackend::DisplayOptions displayOptions, CSwordBackend::FilterOptions filterOptions
TQObject *parent, CSwordBackend::DisplayOptions displayOptions, CSwordBackend::FilterOptions filterOptions
);
virtual ~CPrinter();

@ -55,8 +55,8 @@ using namespace sword;
namespace BookshelfManager {
CSwordSetupDialog::CSwordSetupDialog(TQWidget *tqparent, const char *name )
: KDialogBase(IconList, i18n("Bookshelf Manager"), Ok, Ok, tqparent, name, true, true, TQString(), TQString(), TQString()),
CSwordSetupDialog::CSwordSetupDialog(TQWidget *parent, const char *name )
: KDialogBase(IconList, i18n("Bookshelf Manager"), Ok, Ok, parent, name, true, true, TQString(), TQString(), TQString()),
m_removeModuleListView(0),
m_installModuleListPage(0),
m_installModuleListView(0),

@ -47,7 +47,7 @@ class CSwordSetupDialog : public KDialogBase, public CPointers {
TQ_OBJECT
public:
CSwordSetupDialog(TQWidget *tqparent=0, const char *name=0);
CSwordSetupDialog(TQWidget *parent=0, const char *name=0);
enum Parts {
Sword,

@ -32,7 +32,7 @@ namespace BookshelfManager {
const TQString PROTO_FTP( i18n("Remote") ); //Remote path
CSwordSetupInstallSourcesDialog::CSwordSetupInstallSourcesDialog(/*TQWidget *tqparent*/)
CSwordSetupInstallSourcesDialog::CSwordSetupInstallSourcesDialog(/*TQWidget *parent*/)
: TQDialog() {
TQVBoxLayout* mainLayout = new TQVBoxLayout( this );

@ -65,8 +65,8 @@ namespace BookshelfManager {
* @short InstallationManager module listviews
* @author Martin Gruner
*/
CSwordSetupModuleListView::CSwordSetupModuleListView(TQWidget *tqparent, bool is_remote, sword::InstallSource* installSource)
: KListView(tqparent), m_is_remote( is_remote ) {
CSwordSetupModuleListView::CSwordSetupModuleListView(TQWidget *parent, bool is_remote, sword::InstallSource* installSource)
: KListView(parent), m_is_remote( is_remote ) {
Q_ASSERT(installSource);
new BookshelfManager::ToolTip(this);
m_backend = installSource ? BTInstallMgr::Tool::backend(installSource) : CPointers::backend();
@ -151,31 +151,31 @@ namespace BookshelfManager {
void CSwordSetupModuleListView::addModule(CSwordModuleInfo* module, TQString localVersion) {
TQListViewItem* tqparent = 0;
TQListViewItem* parent = 0;
switch ( module->type() ) {
case CSwordModuleInfo::Bible:
tqparent = m_categoryBible;
parent = m_categoryBible;
break;
case CSwordModuleInfo::Commentary:
tqparent = m_categoryCommentary;
parent = m_categoryCommentary;
break;
case CSwordModuleInfo::Lexicon:
tqparent = m_categoryLexicon;
parent = m_categoryLexicon;
break;
case CSwordModuleInfo::GenericBook:
tqparent = m_categoryBook;
parent = m_categoryBook;
break;
default:
tqparent = 0;
parent = 0;
break;
}
//handling for special module types
if ((tqparent == m_categoryLexicon) && (module->category() == CSwordModuleInfo::Glossary)) {
tqparent = m_categoryGlossaries;
if ((parent == m_categoryLexicon) && (module->category() == CSwordModuleInfo::Glossary)) {
parent = m_categoryGlossaries;
}
if ((tqparent == m_categoryLexicon) && (module->category() == CSwordModuleInfo::DailyDevotional)) {
tqparent = m_categoryDevotionals;
if ((parent == m_categoryLexicon) && (module->category() == CSwordModuleInfo::DailyDevotional)) {
parent = m_categoryDevotionals;
}
//now we know the category, find the right language group in that category
@ -186,8 +186,8 @@ namespace BookshelfManager {
}
TQListViewItem * langFolder = 0;
if (tqparent) {
langFolder = tqparent->firstChild();
if (parent) {
langFolder = parent->firstChild();
while( langFolder ) { //try to find language folder if it exsists
if (langFolder->text(0) == langName) { //found right folder
@ -199,7 +199,7 @@ namespace BookshelfManager {
}
if (!langFolder) { //not yet there
langFolder = new TQCheckListItem(tqparent, langName, TQCheckListItem::CheckBoxController);
langFolder = new TQCheckListItem(parent, langName, TQCheckListItem::CheckBoxController);
langFolder->setPixmap(0, SmallIcon(CResMgr::mainIndex::closedFolder::icon, 16));
langFolder->setOpen(false);

@ -32,7 +32,7 @@ class CSwordSetupModuleListView : public KListView {
TQ_OBJECT
public:
CSwordSetupModuleListView(TQWidget* tqparent, bool is_remote, sword::InstallSource* installSource = 0);
CSwordSetupModuleListView(TQWidget* parent, bool is_remote, sword::InstallSource* installSource = 0);
virtual ~CSwordSetupModuleListView();
void addModule(CSwordModuleInfo *, TQString localVersion);

@ -112,23 +112,23 @@ void CDisplayConnections::openFindTextDialog() {
/*----------------------*/
CReadDisplay* CDisplay::createReadInstance( CReadWindow* readWindow, TQWidget* tqparent ) {
return new CHTMLReadDisplay(readWindow, tqparent);
CReadDisplay* CDisplay::createReadInstance( CReadWindow* readWindow, TQWidget* parent ) {
return new CHTMLReadDisplay(readWindow, parent);
}
CWriteDisplay* CDisplay::createWriteInstance( CWriteWindow* writeWindow, const CWriteDisplay::WriteDisplayType& type, TQWidget* tqparent ) {
CWriteDisplay* CDisplay::createWriteInstance( CWriteWindow* writeWindow, const CWriteDisplay::WriteDisplayType& type, TQWidget* parent ) {
// qWarning("CDisplay::createWriteInstance");
if (type == PlainTextDisplay) {
return new CPlainWriteDisplay(writeWindow, tqparent);
return new CPlainWriteDisplay(writeWindow, parent);
}
else {
return new CHTMLWriteDisplay(writeWindow, tqparent);
return new CHTMLWriteDisplay(writeWindow, parent);
};
}
CDisplay::CDisplay(CDisplayWindow* tqparent) :
m_parentWindow(tqparent),
CDisplay::CDisplay(CDisplayWindow* parent) :
m_parentWindow(parent),
m_connections( new CDisplayConnections( this ) ),
m_popup(0) {}

@ -43,8 +43,8 @@ public:
PlainTextDisplay
};
static CReadDisplay* createReadInstance(CReadWindow* readWindow, TQWidget* tqparent = 0);
static CWriteDisplay* createWriteInstance( CWriteWindow* writeWindow, const WriteDisplayType& type = PlainTextDisplay, TQWidget* tqparent = 0 );
static CReadDisplay* createReadInstance(CReadWindow* readWindow, TQWidget* parent = 0);
static CWriteDisplay* createWriteInstance( CWriteWindow* writeWindow, const WriteDisplayType& type = PlainTextDisplay, TQWidget* parent = 0 );
enum TextType {
HTMLText, /* Used for HTML markup */
@ -94,7 +94,7 @@ public:
*/
virtual CDisplayConnections* const connectionsProxy() const;
/**
* Returns the tqparent window used for this display widget.
* Returns the parent window used for this display widget.
*/
CDisplayWindow* const parentWindow() const;
virtual void print( const CDisplay::TextPart, CSwordBackend::DisplayOptions displayOptions, CSwordBackend::FilterOptions filterOptions) = 0;
@ -131,7 +131,7 @@ protected:
void emitReferenceClicked( const TQString& reference );
protected:
CDisplay(CDisplayWindow* tqparent);
CDisplay(CDisplayWindow* parent);
virtual ~CDisplay();
private:
@ -144,7 +144,7 @@ class CDisplayConnections : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
CDisplayConnections( CDisplay* tqparent );
CDisplayConnections( CDisplay* parent );
public slots:
virtual void selectAll();

@ -422,7 +422,7 @@ void CHTMLReadDisplay::timerEvent( TQTimerEvent *e ) {
// ---------------------
CHTMLReadDisplayView::CHTMLReadDisplayView(CHTMLReadDisplay* displayWidget, TQWidget* tqparent) : KHTMLView(displayWidget, tqparent), m_display(displayWidget) {
CHTMLReadDisplayView::CHTMLReadDisplayView(CHTMLReadDisplay* displayWidget, TQWidget* parent) : KHTMLView(displayWidget, parent), m_display(displayWidget) {
viewport()->setAcceptDrops(true);
setMarginWidth(4);
setMarginHeight(4);

@ -61,7 +61,7 @@ public:
protected:
friend class CDisplay;
CHTMLReadDisplay( CReadWindow* readWindow, TQWidget* tqparent = 0 );
CHTMLReadDisplay( CReadWindow* readWindow, TQWidget* parent = 0 );
virtual ~CHTMLReadDisplay();
virtual void urlSelected( const TQString& url, int button, int state, const TQString& _target, KParts::URLArgs args);
@ -119,7 +119,7 @@ protected: // Protected methods
friend class CHTMLReadDisplay;
CHTMLReadDisplayView(CHTMLReadDisplay* display, TQWidget* tqparent);
CHTMLReadDisplayView(CHTMLReadDisplay* display, TQWidget* parent);
/**
* Reimplementation from TQScrollView. Sets the right slots
*/

@ -27,8 +27,8 @@
#include <kcolorbutton.h>
#include <kpopupmenu.h>
CHTMLWriteDisplay::CHTMLWriteDisplay(CWriteWindow* parentWindow, TQWidget* tqparent)
: CPlainWriteDisplay(parentWindow,tqparent) {
CHTMLWriteDisplay::CHTMLWriteDisplay(CWriteWindow* parentWindow, TQWidget* parent)
: CPlainWriteDisplay(parentWindow,parent) {
m_actions.bold = 0;
m_actions.italic = 0;
m_actions.underline = 0;

@ -52,7 +52,7 @@ public:
protected:
friend class CDisplay;
CHTMLWriteDisplay(CWriteWindow* parentWindow, TQWidget* tqparent);
CHTMLWriteDisplay(CWriteWindow* parentWindow, TQWidget* parent);
~CHTMLWriteDisplay();
/**
* Reimplementation to show a popup menu if the right mouse butoon was clicked.

@ -23,7 +23,7 @@
#include <kaction.h>
#include <klocale.h>
CPlainWriteDisplay::CPlainWriteDisplay(CWriteWindow* parentWindow, TQWidget* tqparent) : TQTextEdit(parentWindow ? parentWindow : tqparent), CWriteDisplay(parentWindow) {
CPlainWriteDisplay::CPlainWriteDisplay(CWriteWindow* parentWindow, TQWidget* parent) : TQTextEdit(parentWindow ? parentWindow : parent), CWriteDisplay(parentWindow) {
setTextFormat(TQt::PlainText);
setAcceptDrops(true);
viewport()->setAcceptDrops(true);

@ -66,7 +66,7 @@ protected:
friend class CDisplay;
friend class CHTMLWriteDisplay;
CPlainWriteDisplay(CWriteWindow* parentWindow, TQWidget* tqparent);
CPlainWriteDisplay(CWriteWindow* parentWindow, TQWidget* parent);
virtual ~CPlainWriteDisplay();
/**
* Reimplementation from TQTextEdit. Provides an popup menu for the given position.

@ -40,7 +40,7 @@
using namespace Profile;
CBibleReadWindow::CBibleReadWindow(ListCSwordModuleInfo moduleList, CMDIArea* tqparent, const char *name ) : CLexiconReadWindow(moduleList, tqparent,name) {
CBibleReadWindow::CBibleReadWindow(ListCSwordModuleInfo moduleList, CMDIArea* parent, const char *name ) : CLexiconReadWindow(moduleList, parent,name) {
}
CBibleReadWindow::~CBibleReadWindow() {}

@ -35,7 +35,7 @@ class CBibleReadWindow : public CLexiconReadWindow {
Q_OBJECT
TQ_OBJECT
public:
CBibleReadWindow(ListCSwordModuleInfo modules, CMDIArea* tqparent, const char *name=0);
CBibleReadWindow(ListCSwordModuleInfo modules, CMDIArea* parent, const char *name=0);
virtual ~CBibleReadWindow();
/**
* Store the settings of this window in the given CProfileWindow object.

@ -33,7 +33,7 @@
using namespace Profile;
CBookReadWindow::CBookReadWindow(ListCSwordModuleInfo modules, CMDIArea* tqparent, const char *name) : CLexiconReadWindow(modules, tqparent, name) {}
CBookReadWindow::CBookReadWindow(ListCSwordModuleInfo modules, CMDIArea* parent, const char *name) : CLexiconReadWindow(modules, parent, name) {}
CBookReadWindow::~CBookReadWindow() {}

@ -30,7 +30,7 @@ class CBookReadWindow : public CLexiconReadWindow {
public:
static void insertKeyboardActions( KActionCollection* const a );
CBookReadWindow(ListCSwordModuleInfo modules, CMDIArea* tqparent, const char *name=0);
CBookReadWindow(ListCSwordModuleInfo modules, CMDIArea* parent, const char *name=0);
virtual ~CBookReadWindow();
/**

@ -25,8 +25,8 @@
#include <klocale.h>
// CTransliterationButton::CTransliterationButton(CSwordBackend::FilterOptions* filterOptions, TQWidget *tqparent, const char *name )
// : KToolBarButton(CResMgr::displaywindows::transliteration::icon, 0,tqparent,name) {
// CTransliterationButton::CTransliterationButton(CSwordBackend::FilterOptions* filterOptions, TQWidget *parent, const char *name )
// : KToolBarButton(CResMgr::displaywindows::transliteration::icon, 0,parent,name) {
// m_filterOptions = filterOptions;
// m_filterOptions->transliteration = 0;
//
@ -86,8 +86,8 @@
*********** CDisplaySettingsButton *************
************************************************/
CDisplaySettingsButton::CDisplaySettingsButton(CSwordBackend::DisplayOptions *displaySettings, CSwordBackend::FilterOptions *moduleSettings, const ListCSwordModuleInfo& useModules,TQWidget *tqparent, const char *name )
: KToolBarButton(CResMgr::displaywindows::displaySettings::icon, 0, tqparent, name) {
CDisplaySettingsButton::CDisplaySettingsButton(CSwordBackend::DisplayOptions *displaySettings, CSwordBackend::FilterOptions *moduleSettings, const ListCSwordModuleInfo& useModules,TQWidget *parent, const char *name )
: KToolBarButton(CResMgr::displaywindows::displaySettings::icon, 0, parent, name) {
// qWarning("CDisplaySettingsButton::CDisplaySettingsButton");
m_displaySettings = displaySettings;
m_moduleSettings = moduleSettings;

@ -31,7 +31,7 @@ class KPopupMenu;
// Q_OBJECT
// TQ_OBJECT
// public:
// CTransliterationButton(CSwordBackend::FilterOptions* displayOptions, TQWidget *tqparent, const char *name=0);
// CTransliterationButton(CSwordBackend::FilterOptions* displayOptions, TQWidget *parent, const char *name=0);
// ~CTransliterationButton();
// /**
// * Setup the menu entries.
@ -60,7 +60,7 @@ class CDisplaySettingsButton : public KToolBarButton {
Q_OBJECT
TQ_OBJECT
public:
CDisplaySettingsButton(CSwordBackend::DisplayOptions *displaySettings, CSwordBackend::FilterOptions *settings, const ListCSwordModuleInfo& useModules, TQWidget *tqparent=0, const char *name=0);
CDisplaySettingsButton(CSwordBackend::DisplayOptions *displaySettings, CSwordBackend::FilterOptions *settings, const ListCSwordModuleInfo& useModules, TQWidget *parent=0, const char *name=0);
void reset(const ListCSwordModuleInfo& useModules);
/**
* Sets the item at position pos to the satet given as 2nd paramter.

@ -31,7 +31,7 @@
using namespace Profile;
CCommentaryReadWindow::CCommentaryReadWindow(ListCSwordModuleInfo modules, CMDIArea* tqparent, const char *name) : CLexiconReadWindow(modules, tqparent,name) {}
CCommentaryReadWindow::CCommentaryReadWindow(ListCSwordModuleInfo modules, CMDIArea* parent, const char *name) : CLexiconReadWindow(modules, parent,name) {}
void CCommentaryReadWindow::insertKeyboardActions( KActionCollection* const a ) {
new KAction(

@ -31,7 +31,7 @@ public:
*/
static void insertKeyboardActions( KActionCollection* const a );
CCommentaryReadWindow(ListCSwordModuleInfo modules, CMDIArea* tqparent, const char *name=0);
CCommentaryReadWindow(ListCSwordModuleInfo modules, CMDIArea* parent, const char *name=0);
/**
* Store the settings of this window in the given CProfileWindow object.
*/

@ -48,16 +48,16 @@
using namespace Profile;
CReadWindow* CDisplayWindow::createReadInstance(ListCSwordModuleInfo modules, CMDIArea* tqparent, const char* name) {
CReadWindow* CDisplayWindow::createReadInstance(ListCSwordModuleInfo modules, CMDIArea* parent, const char* name) {
switch (modules.first()->type()) {
case CSwordModuleInfo::Bible:
return new CBibleReadWindow(modules, tqparent, name);
return new CBibleReadWindow(modules, parent, name);
case CSwordModuleInfo::Commentary:
return new CCommentaryReadWindow(modules, tqparent, name);
return new CCommentaryReadWindow(modules, parent, name);
case CSwordModuleInfo::Lexicon:
return new CLexiconReadWindow(modules, tqparent, name);
return new CLexiconReadWindow(modules, parent, name);
case CSwordModuleInfo::GenericBook:
return new CBookReadWindow(modules, tqparent, name);
return new CBookReadWindow(modules, parent, name);
default:
qWarning("unknown module type");
break;
@ -66,23 +66,23 @@ CReadWindow* CDisplayWindow::createReadInstance(ListCSwordModuleInfo modules, CM
}
CWriteWindow* CDisplayWindow::createWriteInstance(ListCSwordModuleInfo modules, CMDIArea* tqparent, const CDisplayWindow::WriteWindowType type, const char* name) {
CWriteWindow* CDisplayWindow::createWriteInstance(ListCSwordModuleInfo modules, CMDIArea* parent, const CDisplayWindow::WriteWindowType type, const char* name) {
if (type == HTMLWindow) {
return new CHTMLWriteWindow(modules, tqparent, name);
return new CHTMLWriteWindow(modules, parent, name);
}
else {
return new CPlainWriteWindow(modules, tqparent, name);
return new CPlainWriteWindow(modules, parent, name);
}
return 0;
}
CDisplayWindow::CDisplayWindow(ListCSwordModuleInfo modules, CMDIArea *tqparent, const char *name )
CDisplayWindow::CDisplayWindow(ListCSwordModuleInfo modules, CMDIArea *parent, const char *name )
#if KDE_VERSION >= 0x030200
: KMainWindow(KMainWindow::NoDCOPObject, tqparent, name, WDestructiveClose),
: KMainWindow(KMainWindow::NoDCOPObject, parent, name, WDestructiveClose),
#else
: KMainWindow(tqparent, name, WDestructiveClose),
: KMainWindow(parent, name, WDestructiveClose),
#endif
m_mdi(tqparent),
m_mdi(parent),
m_filterOptions(),
m_displayOptions(),
m_displaySettingsButton(0),

@ -58,8 +58,8 @@ public:
PlainTextWindow = 2
};
static CReadWindow* createReadInstance(ListCSwordModuleInfo modules, CMDIArea* tqparent, const char* name = 0);
static CWriteWindow* createWriteInstance(ListCSwordModuleInfo modules, CMDIArea* tqparent, const WriteWindowType type = HTMLWindow, const char* name = 0);
static CReadWindow* createReadInstance(ListCSwordModuleInfo modules, CMDIArea* parent, const char* name = 0);
static CWriteWindow* createWriteInstance(ListCSwordModuleInfo modules, CMDIArea* parent, const WriteWindowType type = HTMLWindow, const char* name = 0);
/**
* Insert the keyboard accelerators of this window into the given KAccel object.
*/
@ -195,7 +195,7 @@ protected:
friend class CMDIArea;
friend class CBibleReadWindow;
CDisplayWindow(ListCSwordModuleInfo modules, CMDIArea* tqparent, const char *name=0);
CDisplayWindow(ListCSwordModuleInfo modules, CMDIArea* parent, const char *name=0);
virtual ~CDisplayWindow();
/**
* Initializes the intern keyboard actions.

@ -25,8 +25,8 @@
using namespace Profile;
CHTMLWriteWindow::CHTMLWriteWindow(ListCSwordModuleInfo modules, CMDIArea* tqparent, const char *name)
: CPlainWriteWindow(modules, tqparent, name) {}
CHTMLWriteWindow::CHTMLWriteWindow(ListCSwordModuleInfo modules, CMDIArea* parent, const char *name)
: CPlainWriteWindow(modules, parent, name) {}
CHTMLWriteWindow::~CHTMLWriteWindow() {}

@ -27,7 +27,7 @@ class CHTMLWriteWindow : public CPlainWriteWindow {
Q_OBJECT
TQ_OBJECT
public:
CHTMLWriteWindow(ListCSwordModuleInfo modules, CMDIArea* tqparent, const char *name = 0);
CHTMLWriteWindow(ListCSwordModuleInfo modules, CMDIArea* parent, const char *name = 0);
virtual ~CHTMLWriteWindow();
/**

@ -36,7 +36,7 @@
#include <kdeversion.h>
// #include <kactionclasses.h>
CLexiconReadWindow::CLexiconReadWindow(ListCSwordModuleInfo moduleList, CMDIArea* tqparent, const char *name) : CReadWindow(moduleList, tqparent,name) {
CLexiconReadWindow::CLexiconReadWindow(ListCSwordModuleInfo moduleList, CMDIArea* parent, const char *name) : CReadWindow(moduleList, parent,name) {
setKey( CSwordKey::createInstance(moduleList.first()) );
}

@ -34,7 +34,7 @@ class CLexiconReadWindow : public CReadWindow {
Q_OBJECT
TQ_OBJECT
public:
CLexiconReadWindow(ListCSwordModuleInfo modules, CMDIArea* tqparent, const char *name=0);
CLexiconReadWindow(ListCSwordModuleInfo modules, CMDIArea* parent, const char *name=0);
virtual ~CLexiconReadWindow();
/**
* Store the settings of this window in the given CProfileWindow object.

@ -14,8 +14,8 @@
#include <tqtimer.h>
CModuleChooserBar::CModuleChooserBar(ListCSwordModuleInfo useModules, CSwordModuleInfo::ModuleType type, TQWidget *tqparent, const char *name )
: KToolBar(tqparent,name),
CModuleChooserBar::CModuleChooserBar(ListCSwordModuleInfo useModules, CSwordModuleInfo::ModuleType type, TQWidget *parent, const char *name )
: KToolBar(parent,name),
m_moduleType(type),
m_idCounter(0),
m_buttonLimit(-1) //-1 means no limit

@ -36,7 +36,7 @@ public:
/**
* Default constructor
*/
CModuleChooserBar(ListCSwordModuleInfo useModules, CSwordModuleInfo::ModuleType type, TQWidget *tqparent=0, const char *name=0);
CModuleChooserBar(ListCSwordModuleInfo useModules, CSwordModuleInfo::ModuleType type, TQWidget *parent=0, const char *name=0);
/**
* Returns a list of selected modules.
*/

@ -27,9 +27,9 @@
#include <kglobal.h>
#include <kiconloader.h>
CModuleChooserButton::CModuleChooserButton(CSwordModuleInfo* useModule,CSwordModuleInfo::ModuleType type, const int id, CModuleChooserBar *tqparent, const char *name )
: KToolBarButton(iconName(), id, tqparent, name),
m_id(id), m_popup(0), m_moduleChooserBar(tqparent) {
CModuleChooserButton::CModuleChooserButton(CSwordModuleInfo* useModule,CSwordModuleInfo::ModuleType type, const int id, CModuleChooserBar *parent, const char *name )
: KToolBarButton(iconName(), id, parent, name),
m_id(id), m_popup(0), m_moduleChooserBar(parent) {
m_moduleType = type;
m_module = useModule;
if (!m_module) {

@ -35,7 +35,7 @@ class CModuleChooserButton : public KToolBarButton, public CPointers {
Q_OBJECT
TQ_OBJECT
public:
CModuleChooserButton(CSwordModuleInfo* useModule, CSwordModuleInfo::ModuleType type, const int id, CModuleChooserBar *tqparent, const char *name = 0 );
CModuleChooserButton(CSwordModuleInfo* useModule, CSwordModuleInfo::ModuleType type, const int id, CModuleChooserBar *parent, const char *name = 0 );
~CModuleChooserButton();
CSwordModuleInfo* module();

@ -28,7 +28,7 @@
using namespace Profile;
CPlainWriteWindow::CPlainWriteWindow(ListCSwordModuleInfo moduleList, CMDIArea* tqparent, const char *name ) : CWriteWindow(moduleList, tqparent, name) {
CPlainWriteWindow::CPlainWriteWindow(ListCSwordModuleInfo moduleList, CMDIArea* parent, const char *name ) : CWriteWindow(moduleList, parent, name) {
setKey( CSwordKey::createInstance(moduleList.first()) );
}

@ -29,7 +29,7 @@ class CPlainWriteWindow : public CWriteWindow {
Q_OBJECT
TQ_OBJECT
public:
CPlainWriteWindow( ListCSwordModuleInfo modules, CMDIArea* tqparent, const char *name = 0 );
CPlainWriteWindow( ListCSwordModuleInfo modules, CMDIArea* parent, const char *name = 0 );
virtual ~CPlainWriteWindow();
/**

@ -35,8 +35,8 @@
using namespace Profile;
CReadWindow::CReadWindow(ListCSwordModuleInfo modules, CMDIArea* tqparent, const char *name )
: CDisplayWindow(modules,tqparent,name),
CReadWindow::CReadWindow(ListCSwordModuleInfo modules, CMDIArea* parent, const char *name )
: CDisplayWindow(modules,parent,name),
m_displayWidget(0) {
// installEventFilter(this);

@ -35,7 +35,7 @@ public:
// static void insertKeyboardActions( KAccel* const a );
static void insertKeyboardActions( KActionCollection* const a );
CReadWindow(ListCSwordModuleInfo modules, CMDIArea* tqparent, const char *name=0);
CReadWindow(ListCSwordModuleInfo modules, CMDIArea* parent, const char *name=0);
virtual ~CReadWindow();
/**
* Store the settings of this window in the given CProfileWindow object.

@ -22,8 +22,8 @@
using namespace Profile;
CWriteWindow::CWriteWindow(ListCSwordModuleInfo modules, CMDIArea* tqparent, const char *name )
: CDisplayWindow(modules, tqparent,name), m_writeDisplay(0) {}
CWriteWindow::CWriteWindow(ListCSwordModuleInfo modules, CMDIArea* parent, const char *name )
: CDisplayWindow(modules, parent,name), m_writeDisplay(0) {}
CWriteWindow::~CWriteWindow() {}

@ -29,7 +29,7 @@ class CWriteWindow : public CDisplayWindow {
public:
static void insertKeyboardActions( KActionCollection* const a );
CWriteWindow(ListCSwordModuleInfo modules, CMDIArea* tqparent, const char *name=0);
CWriteWindow(ListCSwordModuleInfo modules, CMDIArea* parent, const char *name=0);
virtual ~CWriteWindow();
/**
* Store the settings of this window in the given CProfileWindow object.

@ -28,8 +28,8 @@
//KDE includes
#include <klocale.h>
CBibleKeyChooser::CBibleKeyChooser(ListCSwordModuleInfo modules, CSwordKey *key, TQWidget *tqparent, const char *name )
: CKeyChooser(modules, key, tqparent, name),
CBibleKeyChooser::CBibleKeyChooser(ListCSwordModuleInfo modules, CSwordKey *key, TQWidget *parent, const char *name )
: CKeyChooser(modules, key, parent, name),
m_key(dynamic_cast<CSwordVerseKey*>(key)) {
w_ref = 0;
setModules(modules, false);

@ -39,7 +39,7 @@ public:
* the constructor
* you should not need to use this, use @ref CKeyChooser::createInstance instead
*/
CBibleKeyChooser(ListCSwordModuleInfo modules, CSwordKey *key=0, TQWidget *tqparent=0, const char *name=0);
CBibleKeyChooser(ListCSwordModuleInfo modules, CSwordKey *key=0, TQWidget *parent=0, const char *name=0);
public slots:
/**

@ -20,8 +20,8 @@
TQMap<TQObject*, int> boxes;
CBookKeyChooser::CBookKeyChooser(ListCSwordModuleInfo modules, CSwordKey *key, TQWidget *tqparent, const char *name)
: CKeyChooser(modules, key, tqparent,name), m_layout(0) {
CBookKeyChooser::CBookKeyChooser(ListCSwordModuleInfo modules, CSwordKey *key, TQWidget *parent, const char *name)
: CKeyChooser(modules, key, parent,name), m_layout(0) {
setModules(modules, false);
m_key = dynamic_cast<CSwordTreeKey*>(key);

@ -42,7 +42,7 @@ class CBookKeyChooser : public CKeyChooser {
Q_OBJECT
TQ_OBJECT
public:
CBookKeyChooser(ListCSwordModuleInfo modules, CSwordKey *key=0, TQWidget *tqparent=0, const char *name=0);
CBookKeyChooser(ListCSwordModuleInfo modules, CSwordKey *key=0, TQWidget *parent=0, const char *name=0);
~CBookKeyChooser();
/**
* Refreshes the content.
@ -75,7 +75,7 @@ public slots: // Public slots
protected: // Protected methods
/**
* Fills the combo given by depth with the items from the key having depth "depth".
* The tqparent sibling is given by key.
* The parent sibling is given by key.
*/
void setupCombo(const TQString key, const int depth, const int currentItem);
/** No descriptions */

@ -25,8 +25,8 @@
////////////
CBookTreeChooser::TreeItem::TreeItem(TQListViewItem* tqparent, TQListViewItem* after, CSwordTreeKey* key, const TQString keyName)
: KListViewItem(tqparent, after),
CBookTreeChooser::TreeItem::TreeItem(TQListViewItem* parent, TQListViewItem* after, CSwordTreeKey* key, const TQString keyName)
: KListViewItem(parent, after),
m_key(key),
m_keyName(keyName) {
//qDebug("first CBookTreeChooser::TreeItem ctor");
@ -39,8 +39,8 @@ m_keyName(keyName) {
m_key->setOffset( offset );
};
CBookTreeChooser::TreeItem::TreeItem(TQListViewItem* tqparent,CSwordTreeKey* key, const TQString keyName)
: KListViewItem(tqparent),
CBookTreeChooser::TreeItem::TreeItem(TQListViewItem* parent,CSwordTreeKey* key, const TQString keyName)
: KListViewItem(parent),
m_key(key),
m_keyName(keyName) {
//qDebug("second CBookTreeChooser::TreeItem ctor");
@ -124,8 +124,8 @@ void CBookTreeChooser::TreeItem::setOpen(bool o) {
//////////////////////////////////
CBookTreeChooser::CBookTreeChooser(ListCSwordModuleInfo modules, CSwordKey *key, TQWidget *tqparent, const char *name)
: CKeyChooser(modules, key, tqparent,name),
CBookTreeChooser::CBookTreeChooser(ListCSwordModuleInfo modules, CSwordKey *key, TQWidget *parent, const char *name)
: CKeyChooser(modules, key, parent,name),
m_key( dynamic_cast<CSwordTreeKey*>(key) ) {
setModules(modules, false);
@ -177,7 +177,7 @@ void CBookTreeChooser::setKey(CSwordKey* newKey, const bool emitSignal) {
TQListViewItem* child = m_treeView->firstChild();
while( child && index < count ) {
if (child->text(0) == currentSibling) { //found a tqparent of our item
if (child->text(0) == currentSibling) { //found a parent of our item
//found right entry?
TreeItem* i = dynamic_cast<TreeItem*>(child);
if (!i || i->key() == key) {

@ -47,7 +47,7 @@ class CBookTreeChooser : public CKeyChooser {
Q_OBJECT
TQ_OBJECT
public:
CBookTreeChooser(ListCSwordModuleInfo modules, CSwordKey *key=0, TQWidget *tqparent=0, const char *name=0);
CBookTreeChooser(ListCSwordModuleInfo modules, CSwordKey *key=0, TQWidget *parent=0, const char *name=0);
~CBookTreeChooser();
/**
* Refreshes the content.
@ -88,8 +88,8 @@ protected slots: // Protected slots
private:
class TreeItem : public KListViewItem {
public:
TreeItem(TQListViewItem* tqparent, TQListViewItem* after, CSwordTreeKey* key, const TQString keyName);
TreeItem(TQListViewItem* tqparent, CSwordTreeKey* key, const TQString keyName);
TreeItem(TQListViewItem* parent, TQListViewItem* after, CSwordTreeKey* key, const TQString keyName);
TreeItem(TQListViewItem* parent, CSwordTreeKey* key, const TQString keyName);
TreeItem(TQListView* view,TQListViewItem* after, CSwordTreeKey* key, const TQString keyName);
const TQString& key() const;
void createChilds();

@ -19,13 +19,13 @@
#include "cbiblekeychooser.h"
#include "cbookkeychooser.h"
CKeyChooser::CKeyChooser(ListCSwordModuleInfo, CSwordKey *, TQWidget *tqparent, const char *name )
: TQWidget(tqparent, name),
CKeyChooser::CKeyChooser(ListCSwordModuleInfo, CSwordKey *, TQWidget *parent, const char *name )
: TQWidget(parent, name),
m_inHistoryFunction(false) {}
CKeyChooser::~CKeyChooser() {}
CKeyChooser* CKeyChooser::createInstance(ListCSwordModuleInfo modules, CSwordKey *key, TQWidget *tqparent) {
CKeyChooser* CKeyChooser::createInstance(ListCSwordModuleInfo modules, CSwordKey *key, TQWidget *parent) {
if (!modules.count()) {
return 0;
}
@ -34,13 +34,13 @@ CKeyChooser* CKeyChooser::createInstance(ListCSwordModuleInfo modules, CSwordKey
switch ( modules.first()->type() ) {
case CSwordModuleInfo::Commentary: //Bibles and commentaries uise the same key chooser
case CSwordModuleInfo::Bible:
ck = new CBibleKeyChooser(modules,key,tqparent);
ck = new CBibleKeyChooser(modules,key,parent);
break;
case CSwordModuleInfo::Lexicon:
ck = new CLexiconKeyChooser(modules,key,tqparent);
ck = new CLexiconKeyChooser(modules,key,parent);
break;
case CSwordModuleInfo::GenericBook:
ck = new CBookKeyChooser(modules,key,tqparent);
ck = new CBookKeyChooser(modules,key,parent);
break;
default:
return 0;

@ -40,9 +40,9 @@ public:
* @ref CBibleKeyChooser
* @param info the @ref CModuleInfo to be represented by the KeyChooser
* @param key if not NULL, the @ref CKey the KeyChooser should be set to
* @param tqparent the tqparent of the widget to create
* @param parent the parent of the widget to create
*/
static CKeyChooser* createInstance(ListCSwordModuleInfo modules, CSwordKey *key, TQWidget *tqparent);
static CKeyChooser* createInstance(ListCSwordModuleInfo modules, CSwordKey *key, TQWidget *parent);
const TQStringList getPreviousKeys() const;
const TQStringList getNextKeys() const;
@ -98,7 +98,7 @@ protected:
/**
* the constructor - DO NOT USE! -- use @ref #createInstance instead!
*/
CKeyChooser(ListCSwordModuleInfo info, CSwordKey *key=0, TQWidget *tqparent=0, const char *name=0);
CKeyChooser(ListCSwordModuleInfo info, CSwordKey *key=0, TQWidget *parent=0, const char *name=0);
virtual ~CKeyChooser();
/**
* Set the appropriate font do display the modules

@ -30,8 +30,8 @@
#include <tqtooltip.h>
#include <tqrect.h>
CKCComboBox::CKCComboBox(bool rw,TQWidget* tqparent,const char* name)
: TQComboBox(rw,tqparent,name) {
CKCComboBox::CKCComboBox(bool rw,TQWidget* parent,const char* name)
: TQComboBox(rw,parent,name) {
setFocusPolicy(TQ_WheelFocus);
if (lineEdit()) {
installEventFilter( lineEdit() );
@ -92,7 +92,7 @@ void CKCComboBox::wheelEvent( TQWheelEvent* e ) {
//**********************************************************************************/
CKeyChooserWidget::CKeyChooserWidget(int count, const bool useNextPrevSignals, TQWidget *tqparent, const char *name) : TQWidget(tqparent,name) {
CKeyChooserWidget::CKeyChooserWidget(int count, const bool useNextPrevSignals, TQWidget *parent, const char *name) : TQWidget(parent,name) {
m_useNextPrevSignals = useNextPrevSignals;
for (int index=1; index <= count; index++) {
@ -102,7 +102,7 @@ CKeyChooserWidget::CKeyChooserWidget(int count, const bool useNextPrevSignals,
reset(m_list,0,false);
};
CKeyChooserWidget::CKeyChooserWidget(TQStringList *list, const bool useNextPrevSignals, TQWidget *tqparent, const char *name ) : TQWidget(tqparent,name) {
CKeyChooserWidget::CKeyChooserWidget(TQStringList *list, const bool useNextPrevSignals, TQWidget *parent, const char *name ) : TQWidget(parent,name) {
m_useNextPrevSignals = useNextPrevSignals;
if (list) {

@ -40,7 +40,7 @@ class CKCComboBox : public TQComboBox {
TQ_OBJECT
public:
CKCComboBox(bool rw, TQWidget * tqparent=0, const char * name=0 );
CKCComboBox(bool rw, TQWidget * parent=0, const char * name=0 );
/**
* Returns the size this widget would like to have.
*/
@ -77,11 +77,11 @@ public:
/**
* the constructor
*/
CKeyChooserWidget(TQStringList *list=0, const bool useNextPrevSignals = false, TQWidget *tqparent=0, const char *name=0);
CKeyChooserWidget(TQStringList *list=0, const bool useNextPrevSignals = false, TQWidget *parent=0, const char *name=0);
/**
* the constructor
*/
CKeyChooserWidget(int count=0, const bool useNextPrevSignals = false, TQWidget *tqparent=0, const char *name=0);
CKeyChooserWidget(int count=0, const bool useNextPrevSignals = false, TQWidget *parent=0, const char *name=0);
/**
* This function does clear the combobox, then fill in
* the StringList, set the ComboBox' current item to index

@ -49,7 +49,7 @@ TQString CKeyReferenceCompletion::makeCompletion(const TQString &text) {
//**********************************************************************************/
/* To get popup working we have to rework KLineEdit too */
CKeyReferenceLineEdit::CKeyReferenceLineEdit(TQWidget *tqparent, const char *name) : KLineEdit(tqparent,name) {
CKeyReferenceLineEdit::CKeyReferenceLineEdit(TQWidget *parent, const char *name) : KLineEdit(parent,name) {
}
void CKeyReferenceLineEdit::makeCompletion(const TQString &text) {
@ -80,7 +80,7 @@ void CKeyReferenceLineEdit::makeCompletion(const TQString &text) {
//**********************************************************************************/
CKeyReferenceWidget::CKeyReferenceWidget( CSwordBibleModuleInfo *mod, CSwordVerseKey *key, TQWidget *tqparent, const char *name) : TQWidget(tqparent,name) {
CKeyReferenceWidget::CKeyReferenceWidget( CSwordBibleModuleInfo *mod, CSwordVerseKey *key, TQWidget *parent, const char *name) : TQWidget(parent,name) {
updatelock = false;
m_module = mod;

@ -40,7 +40,7 @@ class CKeyReferenceLineEdit : public KLineEdit {
Q_OBJECT
TQ_OBJECT
public:
CKeyReferenceLineEdit(TQWidget *tqparent=0, const char *name=0);
CKeyReferenceLineEdit(TQWidget *parent=0, const char *name=0);
void makeCompletion(const TQString &);
};
@ -51,7 +51,7 @@ public:
/**
* the constructor
*/
CKeyReferenceWidget(CSwordBibleModuleInfo *, CSwordVerseKey*, TQWidget *tqparent=0, const char *name=0);
CKeyReferenceWidget(CSwordBibleModuleInfo *, CSwordVerseKey*, TQWidget *parent=0, const char *name=0);
bool setKey(CSwordVerseKey* key);
KLineEdit* textbox();
void setModule(CSwordBibleModuleInfo *m = 0);

@ -31,8 +31,8 @@
//KDE includes
#include <klocale.h>
CLexiconKeyChooser::CLexiconKeyChooser(ListCSwordModuleInfo modules, CSwordKey *key, TQWidget *tqparent, const char *name )
: CKeyChooser(modules, key, tqparent, name),
CLexiconKeyChooser::CLexiconKeyChooser(ListCSwordModuleInfo modules, CSwordKey *key, TQWidget *parent, const char *name )
: CKeyChooser(modules, key, parent, name),
m_key(dynamic_cast<CSwordLDKey*>(key)) {
setModules(modules, false);

@ -38,7 +38,7 @@ public:
*
* you should not need to use this, use @ref CKeyChooser::createInstance instead
*/
CLexiconKeyChooser(ListCSwordModuleInfo modules, CSwordKey *key=0, TQWidget *tqparent=0, const char *name=0);
CLexiconKeyChooser(ListCSwordModuleInfo modules, CSwordKey *key=0, TQWidget *parent=0, const char *name=0);
public slots:
/**

@ -24,8 +24,8 @@
#include <klocale.h>
//CRefSelectDialog::CRefSelectDialog(TQWidget *tqparent)
// : KDialogBase(tqparent, "Refenences",
//CRefSelectDialog::CRefSelectDialog(TQWidget *parent)
// : KDialogBase(parent, "Refenences",
// true, i18n("Refenence selector"),
// KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok, true),
// m_oldPos(0,0)
@ -77,12 +77,12 @@
// key->key(m_lineedit->text());
// m_chooser->setKey(key);
//
// // restore tqparent of stolen widget
// // restore parent of stolen widget
// restoreParent();
//}
//
//void CRefSelectDialog::slotPressedCancel() {
// // restore tqparent of stolen widget
// // restore parent of stolen widget
// restoreParent();
//}
//

@ -28,7 +28,7 @@ class TQLineEdit;
// Q_OBJECT
TQ_OBJECT
// public:
// CRefSelectDialog(TQWidget *tqparent);
// CRefSelectDialog(TQWidget *parent);
// virtual ~CRefSelectDialog();
//
// void setChooser(CKeyChooser* const chooser);

@ -21,7 +21,7 @@
#include <tqapplication.h>
#include <tqcursor.h>
CScrollButton::CScrollButton(TQWidget *tqparent, const char *name ) : TQToolButton(tqparent,name) {
CScrollButton::CScrollButton(TQWidget *parent, const char *name ) : TQToolButton(parent,name) {
setFocusPolicy(TQ_WheelFocus);
setCursor( splitVCursor );

@ -27,7 +27,7 @@ public:
/**
* The constructor
*/
CScrollButton(TQWidget *tqparent=0, const char *name=0);
CScrollButton(TQWidget *parent=0, const char *name=0);
const bool isLocked() const;
signals:

@ -35,7 +35,7 @@ const unsigned int WIDTH = 16;
const unsigned int ARROW_HEIGHT = 12;
const unsigned int MOVER_HEIGHT = 6;
CScrollerWidgetSet::CScrollerWidgetSet(TQWidget *tqparent, const char *name) : TQWidget(tqparent,name) {
CScrollerWidgetSet::CScrollerWidgetSet(TQWidget *parent, const char *name) : TQWidget(parent,name) {
m_layout = new TQVBoxLayout(this);
m_layout->tqsetAlignment(TQt::AlignHCenter | TQt::AlignCenter);

@ -34,7 +34,7 @@ public:
/**
* the constructor
*/
CScrollerWidgetSet(TQWidget *tqparent=0, const char *name=0);
CScrollerWidgetSet(TQWidget *parent=0, const char *name=0);
/**
* Sets the tooltips for the given entries using the parameters as text.
*/

@ -87,7 +87,7 @@ void CItemBase::moveAfter( CItemBase* const item ) {
if (!item)
return;
if ( tqparent() == item->tqparent() ) { //same tqparent means level
if ( parent() == item->parent() ) { //same parent means level
moveItem(item); //both items are on the same level, so we can use moveItem
}
}
@ -510,7 +510,7 @@ TQPtrList<TQListViewItem> CFolderBase::getChildList() {
return childs;
TQListViewItem* i = firstChild();
while (i && (i->tqparent() == this)) {
while (i && (i->parent() == this)) {
CItemBase* item = dynamic_cast<CItemBase*>(i);
if (item) { //we found a valid item
childs.append(item);
@ -527,7 +527,7 @@ TQPtrList<TQListViewItem> CFolderBase::getChildList() {
do {
i = i->nextSibling();
}
while (i && (i->tqparent() != this));
while (i && (i->parent() != this));
}
return childs;
@ -714,8 +714,8 @@ namespace Bookmarks {
content.setAttribute("syntaxVersion", CURRENT_SYNTAX_VERSION);
doc.appendChild(content);
//first create the bookmark groups in the XML document, then add the bookmarks to each tqparent
TQMap<int, TQDomElement> parentMap; //maps tqparent ids to dom elements
//first create the bookmark groups in the XML document, then add the bookmarks to each parent
TQMap<int, TQDomElement> parentMap; //maps parent ids to dom elements
TQStringList groupList = config->readListEntry("Groups");
@ -810,7 +810,7 @@ OldBookmarksFolder::OldBookmarksFolder(CTreeFolder* folder) : CBookmarkFolder(fo
// Append the XML nodes of all child items
CItemBase* i = dynamic_cast<CItemBase*>(firstChild());
while( i ) {
if (i->tqparent() == this) {
if (i->parent() == this) {
TQDomElement newElem = i->saveToXML( doc );
if (!newElem.isNull()) {
elem.appendChild( newElem ); //append to this folder
@ -892,7 +892,7 @@ SubFolder::SubFolder(CFolderBase* parentItem, TQDomElement& xml ) : CBookmarkFol
//append the XML nodes of all child items
CItemBase* i = dynamic_cast<CItemBase*>(firstChild());
while( i ) {
if (i->tqparent() == this) {
if (i->parent() == this) {
TQDomElement newElem = i->saveToXML( doc );
if (!newElem.isNull()) {
elem.appendChild( newElem ); //append to this folder
@ -1035,7 +1035,7 @@ const bool CBookmarkFolder::saveBookmarks( const TQString& filename, const bool&
//append the XML nodes of all child items
CItemBase* i = dynamic_cast<CItemBase*>( firstChild() );
while( i ) {
if (i->tqparent() == this) { //only one level under this folder
if (i->parent() == this) { //only one level under this folder
TQDomElement newElem = i->saveToXML( doc ); // the cild creates it's own XML code
if (!newElem.isNull()) {
content.appendChild( newElem ); //append to this folder

@ -42,7 +42,7 @@
using namespace Printing;
CMainIndex::ToolTip::ToolTip(CMainIndex* tqparent) : TQToolTip(tqparent->viewport()), m_mainIndex(tqparent) {}
CMainIndex::ToolTip::ToolTip(CMainIndex* parent) : TQToolTip(parent->viewport()), m_mainIndex(parent) {}
void CMainIndex::ToolTip::maybeTip(const TQPoint& p) {
CItemBase* i = dynamic_cast<CItemBase*>(m_mainIndex->itemAt(p));
@ -77,7 +77,7 @@ void CMainIndex::ToolTip::maybeTip(const TQPoint& p) {
}
}
CMainIndex::CMainIndex(TQWidget *tqparent) : KListView(tqparent),
CMainIndex::CMainIndex(TQWidget *parent) : KListView(parent),
m_searchDialog(0), m_toolTip(0), m_itemsMovable(false), m_autoOpenFolder(0), m_autoOpenTimer(this) {
initView();
initConnections();
@ -272,9 +272,9 @@ void CMainIndex::initTree() {
}
/** No descriptions */
void CMainIndex::dropped( TQDropEvent* e, TQListViewItem* tqparent, TQListViewItem* after) {
void CMainIndex::dropped( TQDropEvent* e, TQListViewItem* parent, TQListViewItem* after) {
Q_ASSERT(after);
Q_ASSERT(tqparent);
Q_ASSERT(parent);
//the drop was started in this main index widget
if (m_itemsMovable && ((e->source()) == (viewport()))) {
@ -283,7 +283,7 @@ void CMainIndex::dropped( TQDropEvent* e, TQListViewItem* tqparent, TQListViewIt
* folder or one of its subfolders
* we remove the current items because the new ones will be inserted soon.
*/
if (dynamic_cast<CBookmarkFolder*>(tqparent) || dynamic_cast<Bookmarks::SubFolder*>(tqparent)) {
if (dynamic_cast<CBookmarkFolder*>(parent) || dynamic_cast<Bookmarks::SubFolder*>(parent)) {
// we drop onto the bookmark folder or one of it's subfolders
// TQPtrList<TQListViewItem> items = selectedItems();
// items.setAutoDelete(true);
@ -292,7 +292,7 @@ void CMainIndex::dropped( TQDropEvent* e, TQListViewItem* tqparent, TQListViewIt
}
//finally do the drop, either with external drop data or with the moved items' data
CItemBase* const parentItem = dynamic_cast<CItemBase*>(tqparent);
CItemBase* const parentItem = dynamic_cast<CItemBase*>(parent);
CItemBase* const afterItem = dynamic_cast<CItemBase*>(after);
bool removeSelectedItems = true;
@ -323,14 +323,14 @@ void CMainIndex::dropped( TQDropEvent* e, TQListViewItem* tqparent, TQListViewIt
if (afterItem->acceptDrop(e)) {
afterItem->dropped(e, after);
}
else { //insert in the tqparent folder and then move the inserted items
else { //insert in the parent folder and then move the inserted items
parentItem->dropped(e, after);
}
}
parentItem->setOpen(true);
}
else if (parentItem) { //no after item present, but a tqparent is there
else if (parentItem) { //no after item present, but a parent is there
moveSelectedItems = false;
removeSelectedItems = false;
@ -762,7 +762,7 @@ void CMainIndex::readSettings() {
TQStringList openGroups = CBTConfig::get(CBTConfig::bookshelfOpenGroups);
for (TQStringList::Iterator it( openGroups.begin() ); it != openGroups.end(); ++it) {
TQStringList path = TQStringList::split("/", (*it)); //e.g. with items tqparent, child
TQStringList path = TQStringList::split("/", (*it)); //e.g. with items parent, child
TQListViewItem* item = firstChild(); //begin on the top for each item
Q_ASSERT(item);
unsigned int index = 1;
@ -833,9 +833,9 @@ void CMainIndex::saveSettings() {
//it.current()'s full name needs to be added to the list
TQListViewItem* i = it.current();
TQString fullName = i->text(0);
while (i->tqparent()) {
i = i->tqparent();
fullName.prepend("/").prepend( i->text(0).replace("/", "\\/")); // tqparent / child
while (i->parent()) {
i = i->parent();
fullName.prepend("/").prepend( i->text(0).replace("/", "\\/")); // parent / child
}
openGroups << fullName;
}
@ -856,7 +856,7 @@ void CMainIndex::saveSettings() {
TQString path;
while (item) {
path.prepend( item->text(0) + "/" );
item = item->tqparent();
item = item->parent();
}
CBTConfig::set(CBTConfig::bookshelfCurrentItem, path);
}

@ -40,7 +40,7 @@ class CMainIndex : public KListView {
class ToolTip : public TQToolTip {
public:
ToolTip(CMainIndex* tqparent);
ToolTip(CMainIndex* parent);
virtual ~ToolTip() {}
/**
* Displays a tooltip for position p using the getToolTip() function of CGroupManagerItem
@ -52,7 +52,7 @@ class CMainIndex : public KListView {
};
public:
CMainIndex(TQWidget *tqparent);
CMainIndex(TQWidget *parent);
virtual ~CMainIndex();
void initTree();

@ -21,11 +21,11 @@
#include <tqwhatsthis.h>
/*
* Constructs a ManageIndicesForm as a child of 'tqparent', with the
* Constructs a ManageIndicesForm as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
ManageIndicesForm::ManageIndicesForm( TQWidget* tqparent, const char* name, WFlags fl )
: TQWidget( tqparent, name, fl )
ManageIndicesForm::ManageIndicesForm( TQWidget* parent, const char* name, WFlags fl )
: TQWidget( parent, name, fl )
{
if ( !name )
setName( "ManageIndicesForm" );

@ -66,7 +66,7 @@ CSwordModuleInfo* const CModuleChooser::ModuleCheckBoxItem::module() const {
/****************************/
/****************************/
CModuleChooser::CModuleChooser(TQWidget* tqparent) : KListView(tqparent) {
CModuleChooser::CModuleChooser(TQWidget* parent) : KListView(parent) {
initView();
initTree();
}

@ -54,7 +54,7 @@ public:
CSwordModuleInfo* m_module;
};
CModuleChooser(TQWidget* tqparent);
CModuleChooser(TQWidget* parent);
~CModuleChooser();
/**
* Sets the list of modules and updates the state of the checkbox items.

@ -34,8 +34,8 @@ namespace Search {
************ ModuleResultList **************
********************************************/
CModuleResultView::CModuleResultView(TQWidget* tqparent, const char* name) :
KListView(tqparent, name) {
CModuleResultView::CModuleResultView(TQWidget* parent, const char* name) :
KListView(parent, name) {
initView();
initConnections();
strongsResults = 0;
@ -150,7 +150,7 @@ void CModuleResultView::setupTree( ListCSwordModuleInfo modules, const TQString&
executed(currentItem());
}
void CModuleResultView::setupStrongsResults(CSwordModuleInfo* module, TQListViewItem* tqparent,
void CModuleResultView::setupStrongsResults(CSwordModuleInfo* module, TQListViewItem* parent,
const TQString& sNumber) {
TQString lText;
util::CSortListViewItem* item = 0;
@ -160,7 +160,7 @@ void CModuleResultView::setupStrongsResults(CSwordModuleInfo* module, TQListView
for (int cnt = 0; cnt < strongsResults->Count(); ++cnt) {
lText = strongsResults->keyText(cnt);
item = new util::CSortListViewItem(tqparent, lText, TQString::number(strongsResults->keyCount(cnt)));
item = new util::CSortListViewItem(parent, lText, TQString::number(strongsResults->keyCount(cnt)));
item->setColumnSorting(1, util::CSortListViewItem::Number);
}
}
@ -201,10 +201,10 @@ CSwordModuleInfo* const CModuleResultView::activeModule() {
return 0;
}
// we need to find the tqparent most node because that is the node
// we need to find the parent most node because that is the node
// that is the module name.
while (item->tqparent()) {
item = item->tqparent();
while (item->parent()) {
item = item->parent();
}
if (item) {

@ -43,7 +43,7 @@ class CModuleResultView : public KListView {
Q_OBJECT
TQ_OBJECT
public:
CModuleResultView(TQWidget* tqparent, const char* name = 0);
CModuleResultView(TQWidget* parent, const char* name = 0);
~CModuleResultView();
/**
@ -65,7 +65,7 @@ protected: // Protected methods
*/
void initConnections();
void setupStrongsResults(CSwordModuleInfo* module, TQListViewItem* tqparent, const TQString& searchedText);
void setupStrongsResults(CSwordModuleInfo* module, TQListViewItem* parent, const TQString& searchedText);
protected slots: // Protected slots
/**

@ -104,8 +104,8 @@ void CSearchAnalysisDialog::initConnections() {}
/* CSearchAnalysis */
/****************************/
CSearchAnalysis::CSearchAnalysis(TQObject *tqparent, const char *name )
: TQCanvas(tqparent,name) {
CSearchAnalysis::CSearchAnalysis(TQObject *parent, const char *name )
: TQCanvas(parent,name) {
m_scaleFactor = 0.0;
m_legend = 0;
@ -290,8 +290,8 @@ const unsigned int CSearchAnalysis::getCount( const TQString book, CSwordModuleI
//------------------------------------------------------------------
//------------------------------------------------------------------
CSearchAnalysisItem::CSearchAnalysisItem(TQCanvas *tqparent, const int moduleCount, const TQString &bookname, double *scaleFactor, ListCSwordModuleInfo* modules)
: TQCanvasRectangle(tqparent),
CSearchAnalysisItem::CSearchAnalysisItem(TQCanvas *parent, const int moduleCount, const TQString &bookname, double *scaleFactor, ListCSwordModuleInfo* modules)
: TQCanvasRectangle(parent),
m_moduleList( modules ),
m_scaleFactor(scaleFactor),
m_bookName(bookname),
@ -411,8 +411,8 @@ const TQString CSearchAnalysisItem::getToolTip() {
//------------------------------------------------------------------
//------------------------------------------------------------------
CSearchAnalysisView::CSearchAnalysisView(TQCanvas* canvas, TQWidget* tqparent)
: TQCanvasView(canvas, tqparent) {
CSearchAnalysisView::CSearchAnalysisView(TQCanvas* canvas, TQWidget* parent)
: TQCanvasView(canvas, parent) {
setFocusPolicy(TQ_WheelFocus);
m_toolTip = new ToolTip(this);
resize(tqsizeHint());
@ -431,7 +431,7 @@ void CSearchAnalysisView::resizeEvent( TQResizeEvent* e) {
canvas()->resize( canvas()->width(), viewport()->height() );
}
CSearchAnalysisView::ToolTip::ToolTip(TQWidget* tqparent) : TQToolTip(tqparent) {}
CSearchAnalysisView::ToolTip::ToolTip(TQWidget* parent) : TQToolTip(parent) {}
void CSearchAnalysisView::ToolTip::maybeTip(const TQPoint& p) {
CSearchAnalysisView* view = dynamic_cast<CSearchAnalysisView*>(parentWidget());
@ -469,8 +469,8 @@ CSearchAnalysisItem* CSearchAnalysisView::itemAt( const TQPoint& p ) {
//------------------------------------------------------------------
//------------------------------------------------------------------
CSearchAnalysisLegendItem::CSearchAnalysisLegendItem(TQCanvas *tqparent, ListCSwordModuleInfo *list )
: TQCanvasRectangle(tqparent) {
CSearchAnalysisLegendItem::CSearchAnalysisLegendItem(TQCanvas *parent, ListCSwordModuleInfo *list )
: TQCanvasRectangle(parent) {
m_moduleList = list;
}

@ -54,7 +54,7 @@ class CSearchAnalysis : public TQCanvas {
Q_OBJECT
TQ_OBJECT
public:
CSearchAnalysis(TQObject *tqparent=0, const char *name=0);
CSearchAnalysis(TQObject *parent=0, const char *name=0);
virtual ~CSearchAnalysis();
/**
* Starts the analysis of the search result.
@ -135,7 +135,7 @@ public:
/**
* Standard constructor.
*/
CSearchAnalysisItem(TQCanvas* tqparent, const int moduleCount, const TQString& bookname, double *scaleFactor, ListCSwordModuleInfo* modules);
CSearchAnalysisItem(TQCanvas* parent, const int moduleCount, const TQString& bookname, double *scaleFactor, ListCSwordModuleInfo* modules);
virtual ~CSearchAnalysisItem();
/**
* Sets the resultcount of this item
@ -169,7 +169,7 @@ private:
class CSearchAnalysisLegendItem : public TQCanvasRectangle {
public:
CSearchAnalysisLegendItem(TQCanvas* tqparent, ListCSwordModuleInfo* list );
CSearchAnalysisLegendItem(TQCanvas* parent, ListCSwordModuleInfo* list );
private:
virtual void draw (TQPainter & painter);
@ -185,10 +185,10 @@ public:
/**
* Standard constructor
*/
CSearchAnalysisView(TQCanvas* canvas, TQWidget* tqparent);
CSearchAnalysisView(TQCanvas* canvas, TQWidget* parent);
/**
* Returns the tqsizeHint for this view
* We give back the size of the tqparent widgetas default.
* We give back the size of the parent widgetas default.
* This is a reimplementation from TQCanvasView::tqsizeHint().
*/
virtual TQSize tqsizeHint();
@ -207,7 +207,7 @@ protected:
private:
class ToolTip : public TQToolTip {
public:
ToolTip(TQWidget* tqparent);
ToolTip(TQWidget* parent);
virtual ~ToolTip() {}
;
/**

@ -81,8 +81,8 @@ CSearchDialog* const CSearchDialog::getSearchDialog() {
return m_staticDialog;
};
CSearchDialog::CSearchDialog(TQWidget *tqparent)
: KDialogBase(Plain, i18n("Search dialog"), Close | User1, User1, tqparent, "CSearchDialog", false, true, i18n("Search")) {
CSearchDialog::CSearchDialog(TQWidget *parent)
: KDialogBase(Plain, i18n("Search dialog"), Close | User1, User1, parent, "CSearchDialog", false, true, i18n("Search")) {
setWFlags( getWFlags() | TQt::WStyle_MinMax );
setIcon(CResMgr::searchdialog::icon);

@ -65,7 +65,7 @@ protected:
* The cinstructor of the dialog. It's protected because you should use the static public function openDialog.
* The dialog destroys itself if it was closed.
*/
CSearchDialog(TQWidget *tqparent);
CSearchDialog(TQWidget *parent);
~CSearchDialog();
/**

@ -157,8 +157,8 @@ TQString StrongsResultClass::getStrongsNumberText(const TQString& verseContent,
********** CSearchDialogResultPage *********
********************************************/
CSearchResultPage::CSearchResultPage(TQWidget *tqparent, const char *name ) :
SearchResultsForm(tqparent, name) {
CSearchResultPage::CSearchResultPage(TQWidget *parent, const char *name ) :
SearchResultsForm(parent, name) {
initView();
initConnections();
}
@ -577,8 +577,8 @@ void CSearchResultPage::showAnalysis() {
namespace Options {
CSearchOptionsPage::CSearchOptionsPage(TQWidget *tqparent, const char *name ) :
SearchOptionsForm(tqparent,name) {
CSearchOptionsPage::CSearchOptionsPage(TQWidget *parent, const char *name ) :
SearchOptionsForm(parent,name) {
initView();
readSettings();
}

@ -153,7 +153,7 @@ class CSearchResultPage : public SearchResultsForm {
Q_OBJECT
TQ_OBJECT
public:
CSearchResultPage(TQWidget *tqparent=0, const char *name=0);
CSearchResultPage(TQWidget *parent=0, const char *name=0);
~CSearchResultPage();
/**
* Sets the modules which contain the result of each.
@ -210,7 +210,7 @@ class CSearchOptionsPage : public SearchOptionsForm {
Q_OBJECT
TQ_OBJECT
public:
CSearchOptionsPage(TQWidget *tqparent=0, const char *name=0);
CSearchOptionsPage(TQWidget *parent=0, const char *name=0);
~CSearchOptionsPage();
/**
* Sets the search text used in the page.

@ -28,8 +28,8 @@
namespace Search {
namespace Result {
CSearchResultView::CSearchResultView(TQWidget* tqparent, const char* name) :
KListView(tqparent, name), m_module(0) {
CSearchResultView::CSearchResultView(TQWidget* parent, const char* name) :
KListView(parent, name), m_module(0) {
initView();
initConnections();
}

@ -40,7 +40,7 @@ class CSearchResultView : public KListView {
Q_OBJECT
TQ_OBJECT
public:
CSearchResultView(TQWidget* tqparent, const char* name = 0);
CSearchResultView(TQWidget* parent, const char* name = 0);
virtual ~CSearchResultView();
/** Returns the module which is currently used. */
CSwordModuleInfo* const module();

@ -20,11 +20,11 @@
#include <tqwhatsthis.h>
/*
* Constructs a SearchOptionsForm as a child of 'tqparent', with the
* Constructs a SearchOptionsForm as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
SearchOptionsForm::SearchOptionsForm( TQWidget* tqparent, const char* name, WFlags fl )
: TQWidget( tqparent, name, fl )
SearchOptionsForm::SearchOptionsForm( TQWidget* parent, const char* name, WFlags fl )
: TQWidget( parent, name, fl )
{
if ( !name )
setName( "SearchOptionsForm" );

@ -21,11 +21,11 @@
#include "csearchresultview.h"
/*
* Constructs a SearchResultsForm as a child of 'tqparent', with the
* Constructs a SearchResultsForm as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
SearchResultsForm::SearchResultsForm( TQWidget* tqparent, const char* name, WFlags fl )
: TQWidget( tqparent, name, fl )
SearchResultsForm::SearchResultsForm( TQWidget* parent, const char* name, WFlags fl )
: TQWidget( parent, name, fl )
{
if ( !name )
setName( "SearchResultsForm" );

@ -15,37 +15,37 @@
namespace util {
CSortListViewItem::CSortListViewItem(TQListViewItem* tqparent) : KListViewItem(tqparent)
CSortListViewItem::CSortListViewItem(TQListViewItem* parent) : KListViewItem(parent)
{
}
CSortListViewItem::CSortListViewItem( TQListView * tqparent, TQListViewItem * after )
: KListViewItem ( tqparent, after )
CSortListViewItem::CSortListViewItem( TQListView * parent, TQListViewItem * after )
: KListViewItem ( parent, after )
{
}
CSortListViewItem::CSortListViewItem( TQListViewItem * tqparent, TQListViewItem * after )
: KListViewItem ( tqparent, after )
CSortListViewItem::CSortListViewItem( TQListViewItem * parent, TQListViewItem * after )
: KListViewItem ( parent, after )
{
}
CSortListViewItem::CSortListViewItem( TQListView * tqparent, TQString label1, TQString label2, TQString label3, TQString label4, TQString label5, TQString label6, TQString label7, TQString label8 )
: KListViewItem( tqparent, label1, label2, label3, label4, label5, label6, label7, label8 )
CSortListViewItem::CSortListViewItem( TQListView * parent, TQString label1, TQString label2, TQString label3, TQString label4, TQString label5, TQString label6, TQString label7, TQString label8 )
: KListViewItem( parent, label1, label2, label3, label4, label5, label6, label7, label8 )
{
}
CSortListViewItem::CSortListViewItem( TQListViewItem * tqparent, TQString label1, TQString label2, TQString label3, TQString label4, TQString label5, TQString label6, TQString label7, TQString label8 )
: KListViewItem ( tqparent, label1, label2, label3, label4, label5, label6, label7, label8 )
CSortListViewItem::CSortListViewItem( TQListViewItem * parent, TQString label1, TQString label2, TQString label3, TQString label4, TQString label5, TQString label6, TQString label7, TQString label8 )
: KListViewItem ( parent, label1, label2, label3, label4, label5, label6, label7, label8 )
{
}
CSortListViewItem::CSortListViewItem( TQListView * tqparent, TQListViewItem * after, TQString label1, TQString label2, TQString label3, TQString label4, TQString label5, TQString label6, TQString label7, TQString label8 )
: KListViewItem ( tqparent, after, label1, label2, label3, label4, label5, label6, label7, label8 )
CSortListViewItem::CSortListViewItem( TQListView * parent, TQListViewItem * after, TQString label1, TQString label2, TQString label3, TQString label4, TQString label5, TQString label6, TQString label7, TQString label8 )
: KListViewItem ( parent, after, label1, label2, label3, label4, label5, label6, label7, label8 )
{
}
CSortListViewItem::CSortListViewItem( TQListViewItem * tqparent, TQListViewItem * after, TQString label1, TQString label2, TQString label3, TQString label4, TQString label5, TQString label6, TQString label7, TQString label8 )
: KListViewItem ( tqparent, after, label1, label2, label3, label4, label5, label6, label7, label8 )
CSortListViewItem::CSortListViewItem( TQListViewItem * parent, TQListViewItem * after, TQString label1, TQString label2, TQString label3, TQString label4, TQString label5, TQString label6, TQString label7, TQString label8 )
: KListViewItem ( parent, after, label1, label2, label3, label4, label5, label6, label7, label8 )
{
}

@ -29,19 +29,19 @@ public:
Number, String/*, BibleKey*/
};
CSortListViewItem( TQListViewItem* tqparent );
CSortListViewItem( TQListViewItem* parent );
CSortListViewItem( TQListView * tqparent, TQListViewItem * after );
CSortListViewItem( TQListView * parent, TQListViewItem * after );
CSortListViewItem( TQListViewItem * tqparent, TQListViewItem * after );
CSortListViewItem( TQListViewItem * parent, TQListViewItem * after );
CSortListViewItem( TQListView * tqparent, TQString label1, TQString label2 = TQString(), TQString label3 = TQString(), TQString label4 = TQString(), TQString label5 = TQString(), TQString label6 = TQString(), TQString label7 = TQString(), TQString label8 = TQString() );
CSortListViewItem( TQListView * parent, TQString label1, TQString label2 = TQString(), TQString label3 = TQString(), TQString label4 = TQString(), TQString label5 = TQString(), TQString label6 = TQString(), TQString label7 = TQString(), TQString label8 = TQString() );
CSortListViewItem( TQListViewItem * tqparent, TQString label1, TQString label2 = TQString(), TQString label3 = TQString(), TQString label4 = TQString(), TQString label5 = TQString(), TQString label6 = TQString(), TQString label7 = TQString(), TQString label8 = TQString() );
CSortListViewItem( TQListViewItem * parent, TQString label1, TQString label2 = TQString(), TQString label3 = TQString(), TQString label4 = TQString(), TQString label5 = TQString(), TQString label6 = TQString(), TQString label7 = TQString(), TQString label8 = TQString() );
CSortListViewItem( TQListView * tqparent, TQListViewItem * after, TQString label1, TQString label2 = TQString(), TQString label3 = TQString(), TQString label4 = TQString(), TQString label5 = TQString(), TQString label6 = TQString(), TQString label7 = TQString(), TQString label8 = TQString() );
CSortListViewItem( TQListView * parent, TQListViewItem * after, TQString label1, TQString label2 = TQString(), TQString label3 = TQString(), TQString label4 = TQString(), TQString label5 = TQString(), TQString label6 = TQString(), TQString label7 = TQString(), TQString label8 = TQString() );
CSortListViewItem( TQListViewItem * tqparent, TQListViewItem * after, TQString label1, TQString label2 = TQString(), TQString label3 = TQString(), TQString label4 = TQString(), TQString label5 = TQString(), TQString label6 = TQString(), TQString label7 = TQString(), TQString label8 = TQString() );
CSortListViewItem( TQListViewItem * parent, TQListViewItem * after, TQString label1, TQString label2 = TQString(), TQString label3 = TQString(), TQString label4 = TQString(), TQString label5 = TQString(), TQString label6 = TQString(), TQString label7 = TQString(), TQString label8 = TQString() );
virtual ~CSortListViewItem();

@ -159,8 +159,8 @@ TQPixmap CToolClass::getIconForModule( CSwordModuleInfo* module_info ) {
return img;
}
TQLabel* CToolClass::explanationLabel(TQWidget* tqparent, const TQString& heading, const TQString& text ) {
TQLabel* label = new TQLabel( TQString::tqfromLatin1("<B>%1</B><BR>%2").tqarg(heading).tqarg(text),tqparent );
TQLabel* CToolClass::explanationLabel(TQWidget* parent, const TQString& heading, const TQString& text ) {
TQLabel* label = new TQLabel( TQString::tqfromLatin1("<B>%1</B><BR>%2").tqarg(heading).tqarg(text),parent );
label->setAutoResize(true);
label->setMargin(1);
label->setFrameStyle(TQFrame::Box | TQFrame::Plain);

@ -65,7 +65,7 @@ public:
* This function returns a label with heading "heading" and explanation "text". This label should be used to
* explain difficult things of the GUI, e.g. in the optionsdialog.
*/
static TQLabel* explanationLabel(TQWidget* tqparent, const TQString& heading, const TQString& text );
static TQLabel* explanationLabel(TQWidget* parent, const TQString& heading, const TQString& text );
/**
* Returns true if the character at position "pos" of text is inside an HTML tag. Returns false if it's not inside an HTML tag.
*/

Loading…
Cancel
Save