Browse Source

Remove the tq in front of these incorrectly TQt4-converted methods/data members:

tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ksystemlog@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
tags/v3.5.13
tpearson 8 years ago
parent
commit
255b65585b
5 changed files with 11 additions and 11 deletions
  1. +1
    -1
      ksystemlog/src/detailDialogBase.ui
  2. +6
    -6
      ksystemlog/src/logLineTree.cpp
  3. +1
    -1
      ksystemlog/src/logLineTree.h
  4. +1
    -1
      ksystemlog/src/loggerDialogBase.ui
  5. +2
    -2
      ksystemlog/src/parentLogLine.cpp

+ 1
- 1
ksystemlog/src/detailDialogBase.ui View File

@@ -189,7 +189,7 @@
<tabstops>
<tabstop>message</tabstop>
</tabstops>
<tqlayoutdefaults spacing="6" margin="8"/>
<layoutdefaults spacing="6" margin="8"/>
<includehints>
<includehint>ktextedit.h</includehint>
<includehint>kpushbutton.h</includehint>

+ 6
- 6
ksystemlog/src/logLineTree.cpp View File

@@ -78,7 +78,7 @@ LogLine* LogLineTree::synchronizeAddedLines(View* view) {
LogLine* line=it.current();
kdDebug() << "Inserting " << tqparents.count() << " tqparent log item" << endl;
kdDebug() << "Inserting " << parents.count() << " tqparent log item" << endl;
int i=0;
while (line!=NULL) {
@@ -101,7 +101,7 @@ LogLine* LogLineTree::synchronizeAddedLines(View* view) {
kdDebug() << "Adding tqparent items to the tree..." << endl;
//We first add the new tqparent items
TQPtrListIterator<ParentLogLine> it(tqparents);
TQPtrListIterator<ParentLogLine> it(parents);
LogLine* line=it.current();
@@ -129,7 +129,7 @@ bool LogLineTree::remove(LogLine* line) {
ParentLogLine* tqparent=(ParentLogLine*) line;
if (tqparent->hasChildren()==false) {
tqparents.remove(tqparent);
parents.remove(tqparent);
return(LogLineList::remove(line));
}

@@ -147,7 +147,7 @@ bool LogLineTree::remove(LogLine* line) {
//Remove tqparent if it does not have longer tqchildren
if (tqparent->hasChildren()==false) {
tqparents.remove(tqparent);
parents.remove(tqparent);
LogLineList::remove(tqparent);
}
@@ -163,7 +163,7 @@ bool LogLineTree::remove(LogLine* line) {

void LogLineTree::insert(LogLine* line) {
TQPtrListIterator<ParentLogLine> it(tqparents);
TQPtrListIterator<ParentLogLine> it(parents);
ParentLogLine* tqparent=it.current();
bool insertion=false;
@@ -199,7 +199,7 @@ void LogLineTree::insert(LogLine* line) {
//Insert this tqparent by the classical way
LogLineList::insert(newParent);
tqparents.append(newParent);
parents.append(newParent);
ChildLogLine* newChild=new ChildLogLine(date, time, line->getItemList(), line->getOriginalFile(), line->getLogLevel(), line->getType());
newParent->addChild(newChild);

+ 1
- 1
ksystemlog/src/logLineTree.h View File

@@ -49,7 +49,7 @@ class LogLineTree : public LogLineList {
virtual void insert(LogLine* line);

protected:
TQPtrList<ParentLogLine> tqparents;
TQPtrList<ParentLogLine> parents;
groupByType groupBy;
int groupByColumn;

+ 1
- 1
ksystemlog/src/loggerDialogBase.ui View File

@@ -439,7 +439,7 @@
<tabstop>buttonCancel</tabstop>
<tabstop>loggerManual</tabstop>
</tabstops>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>klineedit.h</includehint>
<includehint>kurlrequester.h</includehint>

+ 2
- 2
ksystemlog/src/parentLogLine.cpp View File

@@ -75,10 +75,10 @@ bool ParentLogLine::isChild(LogLine* child) {
}
//Group by Hour
else if (groupBy==GROUP_BY_HOUR) {
TQTime tqparentTime=getTime().time();
TQTime parentTime=getTime().time();
TQTime childTime=child->getTime().time();
if (getTime().date()==child->getTime().date() && tqparentTime.hour()==childTime.hour())
if (getTime().date()==child->getTime().date() && parentTime.hour()==childTime.hour())
return(true);
else
return(false);

Loading…
Cancel
Save