summaryrefslogtreecommitdiffstats
path: root/kugar
diff options
context:
space:
mode:
Diffstat (limited to 'kugar')
-rw-r--r--kugar/kudesigner_lib/view.cpp6
-rw-r--r--kugar/lib/mfieldobject.cpp2
-rw-r--r--kugar/lib/mlabelobject.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/kugar/kudesigner_lib/view.cpp b/kugar/kudesigner_lib/view.cpp
index d021dc23..dc4af262 100644
--- a/kugar/kudesigner_lib/view.cpp
+++ b/kugar/kudesigner_lib/view.cpp
@@ -328,7 +328,7 @@ void View::contentsMousePressEvent( TQMouseEvent* e )
*/
switch ( e->button() )
{
- case Qt::LeftButton:
+ case TQt::LeftButton:
if ( itemToInsert )
{
// tqWarning("placing item");
@@ -362,7 +362,7 @@ void View::contentsMouseReleaseEvent( TQMouseEvent* e )
switch ( e->button() )
{
- case Qt::LeftButton:
+ case TQt::LeftButton:
if ( selectionStarted )
finishSelection();
break;
@@ -626,7 +626,7 @@ void View::contentsMouseMoveEvent( TQMouseEvent* e )
void View::contentsMouseDoubleClickEvent( TQMouseEvent *e )
{
ReportItem * item = 0L;
- if ( e->button() == Qt::LeftButton && m_canvas->selected.count() == 1 )
+ if ( e->button() == TQt::LeftButton && m_canvas->selected.count() == 1 )
item = dynamic_cast<ReportItem*>( m_canvas->selected.first() );
if ( item )
{
diff --git a/kugar/lib/mfieldobject.cpp b/kugar/lib/mfieldobject.cpp
index 3444d5b7..546c6722 100644
--- a/kugar/lib/mfieldobject.cpp
+++ b/kugar/lib/mfieldobject.cpp
@@ -115,7 +115,7 @@ void MFieldObject::setText( const TQString txt )
day = txt.mid( 3, 2 );
d.setYMD( year.toInt(), month.toInt(), day.toInt() );
- // d = TQDate::fromString(txt, Qt::LocalDate);
+ // d = TQDate::fromString(txt, TQt::LocalDate);
text = MUtil::formatDate( d, format );
}
else
diff --git a/kugar/lib/mlabelobject.h b/kugar/lib/mlabelobject.h
index 3526552e..05397b99 100644
--- a/kugar/lib/mlabelobject.h
+++ b/kugar/lib/mlabelobject.h
@@ -27,9 +27,9 @@ class MLabelObject : public MReportObject
public:
/** Font weight constants */
enum FontWeight { Light = 25, Normal = 50, DemiBold = 63, Bold = 75, Black = 87 };
- /**Qt::Horizontal alignment constants */
+ /** Horizontal alignment constants */
enum HAlignment { Left = 0, Center, Right };
- /** Vertial alignment constants */
+ /** Vertical alignment constants */
enum VAlignment { Top = 0, Middle, Bottom };
/** Constructor */