startupinfo.cpp (krename-4.0.9) | : | startupinfo.cpp (krename-4.90.90) | ||
---|---|---|---|---|
skipping to change at line 23 | skipping to change at line 23 | |||
* the Free Software Foundation; either version 2 of the License, or * | * the Free Software Foundation; either version 2 of the License, or * | |||
* (at your option) any later version. * | * (at your option) any later version. * | |||
* * | * * | |||
***************************************************************************/ | ***************************************************************************/ | |||
#include "startupinfo.h" | #include "startupinfo.h" | |||
#include "ui_startupinfowidget.h" | #include "ui_startupinfowidget.h" | |||
#include <kiconloader.h> | #include <kiconloader.h> | |||
StartUpInfo::StartUpInfo(QWidget* parent) | StartUpInfo::StartUpInfo(QWidget *parent) | |||
: QFrame(parent) | : QFrame(parent) | |||
{ | { | |||
m_widget = new Ui::StartUpInfoWidget(); | m_widget = new Ui::StartUpInfoWidget(); | |||
m_widget->setupUi(this); | m_widget->setupUi(this); | |||
m_widget->krenameIcon->setPixmap( DesktopIcon("krename") ); | m_widget->krenameIcon->setPixmap(DesktopIcon("krename")); | |||
m_widget->addIcon->setPixmap( BarIcon("document-open-folder") ); | m_widget->addIcon->setPixmap(BarIcon("document-open-folder")); | |||
m_widget->templateIcon->setPixmap( BarIcon("edit-rename") ); | m_widget->templateIcon->setPixmap(BarIcon("edit-rename")); | |||
connect(m_widget->labelAdd, SIGNAL(leftClickedUrl()), SIGNAL(addFiles())); | connect(m_widget->labelAdd, static_cast<void (KUrlLabel::*)()>(&KUrlLabel::l | |||
connect(m_widget->labelTemplate, SIGNAL(leftClickedUrl()), SIGNAL(enterTempl | eftClickedUrl), | |||
ate())); | this, &StartUpInfo::addFiles); | |||
connect(m_widget->labelTemplate, static_cast<void (KUrlLabel::*)()>(&KUrlLab | ||||
el::leftClickedUrl), | ||||
this, &StartUpInfo::enterTemplate); | ||||
} | } | |||
StartUpInfo::~StartUpInfo() | StartUpInfo::~StartUpInfo() | |||
{ | { | |||
delete m_widget; | delete m_widget; | |||
} | } | |||
End of changes. 2 change blocks. | ||||
8 lines changed or deleted | 11 lines changed or added |