Skip to content
Snippets Groups Projects
Commit 972c3ae6 authored by Paul Tvete's avatar Paul Tvete
Browse files

Use QString instead of const char *

parent 9c14e587
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ int LCDRange::value() const ...@@ -44,7 +44,7 @@ int LCDRange::value() const
return sBar->value(); return sBar->value();
} }
const char *LCDRange::text() const QString LCDRange::text() const
{ {
return label->text(); return label->text();
} }
......
...@@ -22,7 +22,7 @@ public: ...@@ -22,7 +22,7 @@ public:
LCDRange( const char *s, QWidget *parent=0 ); LCDRange( const char *s, QWidget *parent=0 );
int value() const; int value() const;
const char *text() const; QString text() const;
public slots: public slots:
void setValue( int ); void setValue( int );
void setRange( int minVal, int maxVal ); void setRange( int minVal, int maxVal );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment