Skip to content

Commit

Permalink
Removed unnecesssary destructor declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
JairajJangle committed Jul 16, 2020
1 parent 7ef93f0 commit d48d9b8
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 66 deletions.
4 changes: 0 additions & 4 deletions CustomWidgets/errorlabel.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,4 @@ class ErrorLabel : public QLabel
{
this->setVisible(true);
}
~ErrorLabel()
{

}
};
2 changes: 0 additions & 2 deletions CustomWidgets/sliderlayout.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ class SliderLayout : public QHBoxLayout
slider->setVisible(visible);
}

virtual ~SliderLayout() {};

signals:
void sliderValueChanged(int);

Expand Down
5 changes: 0 additions & 5 deletions OpenCVFunction/backgroundsubtract.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,6 @@ class BackgroundSubtraction : public BaseConfigWidget
+ std::string(typeid(this).name());
}

~BackgroundSubtraction()
{
qDebug() << "Blur destroyed";
}

private slots:
void bkgSubTechChanged(int bkgSubTech){
selectedTech = bkgSubTech;
Expand Down
5 changes: 0 additions & 5 deletions OpenCVFunction/blur.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ class Blur : public BaseConfigWidget
+ std::string(typeid(this).name());
}

~Blur()
{
qDebug() << "Blur destroyed";
}

private slots:
void applyKernelClicked(){
kSize = cv::Size(kSizeDLEL->getTexts().first.toInt(),
Expand Down
5 changes: 0 additions & 5 deletions OpenCVFunction/cannyedge.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ class CannyEdge : public BaseConfigWidget
+ std::string(typeid(this).name());
}

~CannyEdge()
{
qDebug() << "Canny Edge destroyed";
}

private slots:
void t1ValueChanged(int value){
t1Value = value;
Expand Down
5 changes: 0 additions & 5 deletions OpenCVFunction/colorpicker.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,6 @@ class ColorPicker : public BaseConfigWidget
+ std::string(typeid(this).name());
}

~ColorPicker()
{
qDebug() << "Color Picker destroyed";
}

private:
LineEditLayout* rgbLineEditLayout = new LineEditLayout("RGB", "000, 000, 000", 200);
LineEditLayout* locLineEditLayout = new LineEditLayout("Location", "No location selected", 200);
Expand Down
5 changes: 0 additions & 5 deletions OpenCVFunction/colorspaces.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ class ColorSpace : public BaseConfigWidget
+ std::string(typeid(this).name());
}

~ColorSpace()
{
qDebug() << "Colorspace destroyed";
}

private slots:
void colorConvRadioButtonClicked(int colorConvCode){
this->colorConvCode = colorConvCode;
Expand Down
5 changes: 0 additions & 5 deletions OpenCVFunction/erodedilate.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ class ErodeDilate : public BaseConfigWidget
initWidget();
}

~ErodeDilate()
{
qDebug() << "ErodeDilate Destroyed";
}

cv::Mat getProcessedImage(cv::Mat inputImage)try
{
if((begin.x < kSize.width && begin.y < kSize.height)
Expand Down
5 changes: 0 additions & 5 deletions OpenCVFunction/harriscornerdetector.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,6 @@ class HarrisCornerDetector : public BaseConfigWidget
+ std::string(typeid(this).name());
}

~HarrisCornerDetector()
{
qDebug() << "Harris Corner Detector destroyed";
}

private slots:
void threshChanged(int value)
{
Expand Down
5 changes: 0 additions & 5 deletions OpenCVFunction/histogram.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,6 @@ class HistogramCalculation : public BaseConfigWidget
+ std::string(typeid(this).name());
}

~HistogramCalculation()
{
qDebug() << "Histogram Calculation destroyed";
}

private:
int histSize = 256;
bool uniform = true, accumulate = false;
Expand Down
5 changes: 0 additions & 5 deletions OpenCVFunction/houghcircles.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,6 @@ class HoughCircles: public BaseConfigWidget
+ std::string(typeid(this).name());
}

~HoughCircles()
{
qDebug() << "Hough Circle destroyed";
}

private slots:
void applyClicked(){
bool paramsApplied = true;
Expand Down
5 changes: 0 additions & 5 deletions OpenCVFunction/houghlines.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ class HoughLines: public BaseConfigWidget
+ std::string(typeid(this).name());
}

~HoughLines()
{
qDebug() << "Hough Lines destroyed";
}

private slots:
void applyClicked(){
bool paramsApplied = true;
Expand Down
5 changes: 0 additions & 5 deletions OpenCVFunction/imageflip.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ class ImageFlip : public BaseConfigWidget
+ std::string(typeid(this).name());
}

~ImageFlip()
{
qDebug() << "ImageFlip destroyed";
}

private slots:
void imgFlipRadioButtonClicked(int flipFlagCode){
this->flipFlagCode = flipFlagCode;
Expand Down
5 changes: 0 additions & 5 deletions OpenCVFunction/inrange.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ class InRange : public BaseConfigWidget
+ std::string(typeid(this).name());
}

~InRange()
{
qDebug() << "InRange destroyed";
}

signals:
void refreshWidget();

Expand Down

0 comments on commit d48d9b8

Please sign in to comment.