summaryrefslogtreecommitdiffstats
path: root/kstars/kstars/detaildialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kstars/kstars/detaildialog.cpp')
-rw-r--r--kstars/kstars/detaildialog.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kstars/kstars/detaildialog.cpp b/kstars/kstars/detaildialog.cpp
index 3f06da87..07bcd87c 100644
--- a/kstars/kstars/detaildialog.cpp
+++ b/kstars/kstars/detaildialog.cpp
@@ -57,7 +57,7 @@
#include "devicemanager.h"
#include "indistd.h"
-LogEdit::LogEdit( TQWidget *tqparent, const char *name ) : KTextEdit( tqparent, name )
+LogEdit::LogEdit( TQWidget *parent, const char *name ) : KTextEdit( parent, name )
{
setFrameStyle( TQFrame::StyledPanel );
setFrameShadow( TQFrame::Plain );
@@ -69,13 +69,13 @@ void LogEdit::focusOutEvent( TQFocusEvent *e ) {
TQWidget::focusOutEvent(e);
}
-ClickLabel::ClickLabel( TQWidget *tqparent, const char *name ) : TQLabel( tqparent, name )
+ClickLabel::ClickLabel( TQWidget *parent, const char *name ) : TQLabel( parent, name )
{}
DetailDialog::DetailDialog(SkyObject *o, const KStarsDateTime &ut, GeoLocation *geo,
- TQWidget *tqparent, const char *name ) :
- KDialogBase( KDialogBase::Tabbed, i18n( "Object Details" ), Close, Close, tqparent, name ) ,
- selectedObject(o), ksw((KStars*)tqparent), Data(0), Pos(0), Links(0), Adv(0), Log(0)
+ TQWidget *parent, const char *name ) :
+ KDialogBase( KDialogBase::Tabbed, i18n( "Object Details" ), Close, Close, parent, name ) ,
+ selectedObject(o), ksw((KStars*)parent), Data(0), Pos(0), Links(0), Adv(0), Log(0)
{
//Modify color palette
setPaletteBackgroundColor( palette().color( TQPalette::Active, TQColorGroup::Base ) );
@@ -774,7 +774,7 @@ bool DetailDialog::readUserFile(int type)//, int sourceFileType)
return true;
}
-void DetailDialog::populateADVTree(TQListViewItem *tqparent)
+void DetailDialog::populateADVTree(TQListViewItem *parent)
{
// list done
if (!treeIt->current())
@@ -782,20 +782,20 @@ void DetailDialog::populateADVTree(TQListViewItem *tqparent)
// if relative top level [KSLABEL]
if (treeIt->current()->Type == 0)
- forkTree(tqparent);
+ forkTree(parent);
while (treeIt->current())
{
if (treeIt->current()->Type == 0)
{
- forkTree(tqparent);
+ forkTree(parent);
continue;
}
else if (treeIt->current()->Type == 1)
break;
- if (tqparent)
- new TQListViewItem( tqparent, treeIt->current()->Name);
+ if (parent)
+ new TQListViewItem( parent, treeIt->current()->Name);
else
new TQListViewItem( Adv->ADVTree, treeIt->current()->Name);
@@ -803,11 +803,11 @@ void DetailDialog::populateADVTree(TQListViewItem *tqparent)
}
}
-void DetailDialog::forkTree(TQListViewItem *tqparent)
+void DetailDialog::forkTree(TQListViewItem *parent)
{
TQListViewItem *current = 0;
- if (tqparent)
- current = new TQListViewItem(tqparent, treeIt->current()->Name);
+ if (parent)
+ current = new TQListViewItem(parent, treeIt->current()->Name);
else
current = new TQListViewItem(Adv->ADVTree, treeIt->current()->Name);