~ubuntu-branches/ubuntu/quantal/kdegames/quantal

« back to all changes in this revision

Viewing changes to palapeli/src/creator/propertywidget.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 14:17:50 UTC
  • mfrom: (1.3.14)
  • Revision ID: package-import@ubuntu.com-20111215141750-6tj6brf4azhrt915
Tags: 4:4.7.90-0ubuntu1
new upstream beta release

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
 
79
79
void Palapeli::IntegerPropertyWidget::initialize(const Pala::SlicerProperty* property)
80
80
{
81
 
        const Pala::IntegerProperty* intProperty = reinterpret_cast<const Pala::IntegerProperty*>(property);
 
81
        const Pala::IntegerProperty* intProperty = static_cast<const Pala::IntegerProperty*>(property);
82
82
        const QPair<int,int> range = intProperty->range();
83
83
        const QVariantList choices = property->choices();
84
84
        QWidget* usedWidget;