Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 32ba4c08 authored by Laurent Montel's avatar Laurent Montel 😁

Port to new connect api

parent 0b354181
......@@ -56,13 +56,11 @@ Q_SIGNALS:
void eventsDeleted();
void autoArchivingSettingsModified();
protected Q_SLOTS:
private:
void slotEventsDeleted();
void slotUser1();
void slotEnableUser1();
void slotActionChanged();
private:
void showWhatsThis();
KUrlRequester *mArchiveFile = nullptr;
KDateComboBox *mDateEdit = nullptr;
......
......@@ -313,6 +313,11 @@ void CalPrintDialog::setOrientation(CalPrinter::ePrintOrientation orientation)
mOrientationSelection->setCurrentIndex(mOrientation);
}
CalPrinter::ePrintOrientation CalPrintDialog::orientation() const
{
return mOrientation;
}
PrintPlugin *CalPrintDialog::selectedPlugin()
{
int id = mConfigArea->currentIndex();
......
......@@ -105,19 +105,14 @@ public:
PrintPlugin *selectedPlugin();
void setOrientation(CalPrinter::ePrintOrientation orientation);
CalPrinter::ePrintOrientation orientation()
{
return mOrientation;
}
CalPrinter::ePrintOrientation orientation() const;
public Q_SLOTS:
void setPrintType(int);
void setPreview(bool);
protected Q_SLOTS:
void slotOk();
private:
void slotOk();
QButtonGroup *mTypeGroup = nullptr;
QStackedWidget *mConfigArea = nullptr;
QMap<int, PrintPlugin *> mPluginIDs;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment