examples/widgets/spinboxes/window.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   142     formatComboBox->addItem("hh:mm:ss dd/MM/yyyy");
   142     formatComboBox->addItem("hh:mm:ss dd/MM/yyyy");
   143     formatComboBox->addItem("hh:mm:ss");
   143     formatComboBox->addItem("hh:mm:ss");
   144     formatComboBox->addItem("hh:mm ap");
   144     formatComboBox->addItem("hh:mm ap");
   145 //! [9] //! [10]
   145 //! [9] //! [10]
   146 
   146 
   147     connect(formatComboBox, SIGNAL(activated(const QString &)),
   147     connect(formatComboBox, SIGNAL(activated(QString)),
   148             this, SLOT(setFormatString(const QString &)));
   148             this, SLOT(setFormatString(QString)));
   149 //! [10]
   149 //! [10]
   150 
   150 
   151     setFormatString(formatComboBox->currentText());
   151     setFormatString(formatComboBox->currentText());
   152 
   152 
   153 //! [11]
   153 //! [11]