summaryrefslogtreecommitdiffstats
path: root/src/widgets/qmenudata.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-13 17:43:39 -0600
commit359640943bcf155faa9a067dde9e00a123276290 (patch)
treefb3d55ea5e18949042fb0064123fb73d2b1eb932 /src/widgets/qmenudata.cpp
parenta829bcdc533e154000803d517200d32fe762e85c (diff)
downloadtqt3-359640943bcf155faa9a067dde9e00a123276290.tar.gz
tqt3-359640943bcf155faa9a067dde9e00a123276290.zip
Automated update from Qt3
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 );