Commit 31f65839 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

const'ify pointer

parent 3e2c40e4
......@@ -65,7 +65,7 @@ using namespace KMime::Types;
class SignEncryptWizard::Private
{
friend class ::Kleo::Crypto::Gui::SignEncryptWizard;
SignEncryptWizard *q;
SignEncryptWizard *const q;
public:
explicit Private(SignEncryptWizard *qq);
~Private();
......
......@@ -94,7 +94,7 @@ public:
mOkButton->setEnabled(!mEmailEdit->text().isEmpty() && mEmailEdit->hasAcceptableInput());
}
AddEmailDialog *q;
AddEmailDialog *const q;
QPushButton *mOkButton;
QLineEdit *mEmailEdit;
bool mAdvancedSelected;
......
......@@ -103,7 +103,7 @@ public:
GpgME::Key key;
bool updateInProgress;
private:
CertificateDetailsWidget *q;
CertificateDetailsWidget *const q;
};
void CertificateDetailsWidget::Private::setupCommonProperties()
......
......@@ -430,7 +430,7 @@ public:
}
private:
CertifyWidget *q;
CertifyWidget *const q;
QLabel *mFprLabel;
KeySelectionCombo *mSecKeySelect;
QCheckBox *mExportCB;
......
......@@ -53,7 +53,7 @@ public:
QTextEdit *textEdit;
WaitWidget *waitWidget;
private:
ExportWidget *q;
ExportWidget *const q;
};
void ExportWidget::Private::setupUi()
......
......@@ -143,7 +143,7 @@ public:
mOkButton->setEnabled(false);
}
GenCardKeyDialog *q;
GenCardKeyDialog *const q;
KeyParams params;
QPushButton *mOkButton;
QLineEdit *mNameEdit;
......
......@@ -101,7 +101,7 @@ private:
return okButton;
}
QPushButton *okButton;
Dialogs::OwnerTrustDialog *q;
Dialogs::OwnerTrustDialog *const q;
} ui;
};
......
......@@ -56,7 +56,7 @@ public:
Ui::SubKeysWidget ui;
void tableContextMenuRequested(const QPoint &p);
private:
SubKeysWidget *q;
SubKeysWidget *const q;
};
void SubKeysWidget::Private::tableContextMenuRequested(const QPoint &p)
......
......@@ -41,7 +41,7 @@ public:
Ui::TrustChainWidget ui;
private:
TrustChainWidget *q;
TrustChainWidget *const q;
};
TrustChainWidget::TrustChainWidget(QWidget *parent)
......
......@@ -114,7 +114,7 @@ public:
QTreeView *certificationsTV;
private:
WebOfTrustWidget *q;
WebOfTrustWidget *const q;
};
......
......@@ -503,7 +503,7 @@ public:
}
private:
PadWidget *q;
PadWidget *const q;
QTextEdit *mEdit;
QPushButton *mCryptBtn;
QPushButton *mDecryptBtn;
......
......@@ -142,7 +142,7 @@ public:
}
private:
SmartCardWidget *q;
SmartCardWidget *const q;
NetKeyWidget *mNetKeyWidget;
PGPCardWidget *mPGPCardWidget;
PlaceHolderWidget *mPlaceHolderWidget;
......
......@@ -147,7 +147,7 @@ public:
cmd->start();
}
WelcomeWidget *q;
WelcomeWidget *const q;
QToolButton *mGenerateBtn;
QToolButton *mImportBtn;
};
......
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