diff options
author | Timothy Pearson <[email protected]> | 2011-08-10 12:13:27 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-08-10 12:13:27 -0500 |
commit | d296f1d337dabfeae5191955fdadb874965dbbe9 (patch) | |
tree | 1a4b3b4cca01f2ea77eee2497297219d60e9bbd4 /tqtinterface/qt4/tools/qconfig/main.cpp | |
parent | eaa7ee2e0bbca40ba3173c4304f81957e8964291 (diff) | |
download | experimental-d296f1d337dabfeae5191955fdadb874965dbbe9.tar.gz experimental-d296f1d337dabfeae5191955fdadb874965dbbe9.zip |
rename the following methods:
tqparent parent
tqmask mask
Diffstat (limited to 'tqtinterface/qt4/tools/qconfig/main.cpp')
-rw-r--r-- | tqtinterface/qt4/tools/qconfig/main.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tqtinterface/qt4/tools/qconfig/main.cpp b/tqtinterface/qt4/tools/qconfig/main.cpp index 39ee580..c304f3e 100644 --- a/tqtinterface/qt4/tools/qconfig/main.cpp +++ b/tqtinterface/qt4/tools/qconfig/main.cpp @@ -184,8 +184,8 @@ static const char*forward_xpm[]={ class ChoiceItem : public TQCheckListItem { public: TQString id; - ChoiceItem(const TQString& i, TQListViewItem* tqparent) : - TQCheckListItem(tqparent, + ChoiceItem(const TQString& i, TQListViewItem* parent) : + TQCheckListItem(parent, i.mid(6), // strip "TQT_NO_" as we reverse the logic CheckBox), id(i) @@ -542,19 +542,19 @@ void Main::createItem(const TQString& ch) if ( !item[ch] ) { TQStringList deps = dependencies[ch]; TQString sec = section[ch]; - TQListViewItem* tqparent = 0; + TQListViewItem* parent = 0; for (TQStringList::Iterator dp = deps.begin(); dp != deps.end(); ++dp) { TQString dsec = section[*dp]; if ( dsec.isEmpty() ) qDebug("No section for %s",(*dp).latin1()); - if ( !tqparent && dsec == sec ) { + if ( !parent && dsec == sec ) { createItem(*dp); - tqparent = item[*dp]; + parent = item[*dp]; } } - if ( !tqparent ) - tqparent = sectionitem[section[ch]]; - ChoiceItem* ci = new ChoiceItem(ch,tqparent); + if ( !parent ) + parent = sectionitem[section[ch]]; + ChoiceItem* ci = new ChoiceItem(ch,parent); item[ch] = ci; if ( !label[ch].isEmpty() ) ci->setInfo(label[ch],documentation[ch]); @@ -590,7 +590,7 @@ void Main::loadConfig(const TQString& filename) void Main::updateAvailability(TQListViewItem* i) { - if ( !i || !i->tqparent() ) { + if ( !i || !i->parent() ) { // section. do nothing for now } else { ChoiceItem* choice = (ChoiceItem*)i; @@ -624,7 +624,7 @@ void Main::showInfo(TQListViewItem* i) { if ( !i ) return; - if ( !i->tqparent() ) { + if ( !i->parent() ) { // section. do nothing for now } else { ChoiceItem* choice = (ChoiceItem*)i; @@ -671,8 +671,8 @@ void Main::selectId(const TQString& id) } } -Info::Info( TQWidget* tqparent, const char* name ) : - TQTextBrowser(tqparent, name) +Info::Info( TQWidget* parent, const char* name ) : + TQTextBrowser(parent, name) { } |