summaryrefslogtreecommitdiffstats
path: root/src/widgets/qmenudata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/qmenudata.cpp')
-rw-r--r--src/widgets/qmenudata.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/qmenudata.cpp b/src/widgets/qmenudata.cpp
index 4bacd22f8..e40aa0b73 100644
--- a/src/widgets/qmenudata.cpp
+++ b/src/widgets/qmenudata.cpp
@@ -158,7 +158,7 @@ TQMenuData::TQMenuData()
{
actItem = -1; // no active menu item
mitems = new TQMenuItemList; // create list of menu items
- Q_CHECK_PTR( mitems );
+ TQ_CHECK_PTR( mitems );
mitems->setAutoDelete( TRUE );
parentMenu = 0; // assume top level
isPopupMenu = FALSE;
@@ -261,7 +261,7 @@ int TQMenuData::insertAny( const TQString *text, const TQPixmap *pixmap,
id = get_seq_id();
register TQMenuItem *mi = new TQMenuItem;
- Q_CHECK_PTR( mi );
+ TQ_CHECK_PTR( mi );
mi->ident = id;
if ( widget != 0 ) {
mi->widget_item = widget;
@@ -1361,7 +1361,7 @@ bool TQMenuData::setItemParameter( int id, int param ) {
return FALSE;
if ( !mi->signal_data ) { // create new signal
mi->signal_data = new TQSignal;
- Q_CHECK_PTR( mi->signal_data );
+ TQ_CHECK_PTR( mi->signal_data );
}
mi->signal_data->setValue( param );
return TRUE;
@@ -1403,7 +1403,7 @@ bool TQMenuData::connectItem( int id, const TQObject *receiver,
return FALSE;
if ( !mi->signal_data ) { // create new signal
mi->signal_data = new TQSignal;
- Q_CHECK_PTR( mi->signal_data );
+ TQ_CHECK_PTR( mi->signal_data );
mi->signal_data->setValue( id );
}
return mi->signal_data->connect( receiver, member );