Logo Search packages:      
Sourcecode: kallery version File versions  Download package

void ImageHtmlPage::slotSelectNextPic (  )  [private, slot]

Select the picture for the Next button.

Definition at line 64 of file imagehtmlpage.cpp.

References KalleryGlobals::imageFilter(), OptionType::nextPic, KalleryGlobals::options, and KalleryGlobals::ref().

{
  QString tempStr;
  tempStr = KFileDialog::getOpenFileName(KalleryGlobals::ref()->options.nextPic, KalleryGlobals::ref()->imageFilter(),this,i18n("Select picture for Next button"));
  if (! tempStr.isEmpty()) {KalleryGlobals::ref()->options.nextPic = tempStr;}
  if (!QFileInfo(KalleryGlobals::ref()->options.nextPic).exists()) {KalleryGlobals::ref()->options.nextPic = "";}
  NextPic->setPixmap(QPixmap(KalleryGlobals::ref()->options.nextPic));
}


Generated by  Doxygen 1.6.0   Back to index