summaryrefslogtreecommitdiffstats
path: root/kdgantt/KDGanttMinimizeSplitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdgantt/KDGanttMinimizeSplitter.cpp')
-rw-r--r--kdgantt/KDGanttMinimizeSplitter.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kdgantt/KDGanttMinimizeSplitter.cpp b/kdgantt/KDGanttMinimizeSplitter.cpp
index b863e4e6e..f11832f37 100644
--- a/kdgantt/KDGanttMinimizeSplitter.cpp
+++ b/kdgantt/KDGanttMinimizeSplitter.cpp
@@ -56,10 +56,10 @@ static int opaqueOldPos = -1; //### there's only one mouse, but this is a bit ri
KDGanttSplitterHandle::KDGanttSplitterHandle( Qt::Orientation o,
- KDGanttMinimizeSplitter *tqparent, const char * name )
- : TQWidget( tqparent, name ), _activeButton( 0 ), _collapsed( false )
+ KDGanttMinimizeSplitter *parent, const char * name )
+ : TQWidget( parent, name ), _activeButton( 0 ), _collapsed( false )
{
- s = tqparent;
+ s = parent;
setOrientation(o);
setMouseTracking( true );
}
@@ -325,7 +325,7 @@ void kdganttGeomCalc( TQMemArray<TQLayoutStruct> &chain, int start, int count, i
To show a TQListBox, a TQListView and a TQTextEdit side by side:
\code
- KDGanttMinimizeSplitter *split = new KDGanttMinimizeSplitter( tqparent );
+ KDGanttMinimizeSplitter *split = new KDGanttMinimizeSplitter( parent );
TQListBox *lb = new TQListBox( split );
TQListView *lv = new TQListView( split );
TQTextEdit *ed = new TQTextEdit( split );
@@ -378,22 +378,22 @@ static TQSize minSizeHint( const TQWidget* w )
/*!
- Constructs a horizontal splitter with the \a tqparent and \a
+ Constructs a horizontal splitter with the \a parent and \a
name arguments being passed on to the TQFrame constructor.
*/
-KDGanttMinimizeSplitter::KDGanttMinimizeSplitter( TQWidget *tqparent, const char *name )
- :TQFrame(tqparent,name,WPaintUnclipped)
+KDGanttMinimizeSplitter::KDGanttMinimizeSplitter( TQWidget *parent, const char *name )
+ :TQFrame(parent,name,WPaintUnclipped)
{
orient = Qt::Horizontal;
init();
}
/*!
- Constructs a splitter with orientation \a o with the \a tqparent
+ Constructs a splitter with orientation \a o with the \a parent
and \a name arguments being passed on to the TQFrame constructor.
*/
-KDGanttMinimizeSplitter::KDGanttMinimizeSplitter( Qt::Orientation o, TQWidget *tqparent, const char *name )
- :TQFrame(tqparent,name,WPaintUnclipped)
+KDGanttMinimizeSplitter::KDGanttMinimizeSplitter( Qt::Orientation o, TQWidget *parent, const char *name )
+ :TQFrame(parent,name,WPaintUnclipped)
{
orient = o;
init();