this, SLOT( onDoubleClicked( QListViewItem* ) ) );
setRootObject( root );
-
- setModified();
}
OB_Browser::~OB_Browser()
autoOpenBranches();
- setModified();
-
if ( selNum != numberOfSelected() )
emit selectionChanged();
}
if( autoOpen )
autoOpenBranches();
- setModified();
-
if ( selNum != numberOfSelected() )
emit selectionChanged();
-
-// QTime t2 = QTime::currentTime();
-// qDebug( QString( "update tree time = %1 msecs" ).arg( t1.msecsTo( t2 ) ) );
}
void OB_Browser::replaceTree( SUIT_DataObject* src, SUIT_DataObject* trg )
autoOpenBranches();
- setModified();
-
if ( selNum != numberOfSelected() )
emit selectionChanged();
}
if ( item )
emit doubleClicked( dataObject( item ) );
}
-
-void OB_Browser::setModified()
-{
- myModifiedTime = clock();
-}
-
virtual void contextMenuPopup( QPopupMenu* );
- void setModified();
- unsigned long getModifiedTime() { return myModifiedTime; }
-
signals:
void selectionChanged();
void doubleClicked( SUIT_DataObject* );
int myAutoOpenLevel;
friend class OB_Browser::ToolTip;
-
- unsigned long myModifiedTime;
};
#endif