Fix incorrectly renamed strings

pull/1/head
Slávek Banko 9 years ago
parent 8ebcedc9d5
commit 4dfdee6d8e

@ -629,7 +629,7 @@ void CHexViewWidget::updateView( bool redraw, bool fixCursor )
tooMuchX += mScrollBarSize; tooMuchX += mScrollBarSize;
if( horzScrollbarVisible == false && tooMuchX > 0 ) if( horzScrollbarVisible == false && tooMuchX > 0 )
{ {
//Qt::Horizontal scrollbar will be visible after all. // Horizontal scrollbar will be visible after all.
editHeight -= mScrollBarSize; editHeight -= mScrollBarSize;
tooMuchY += mScrollBarSize; tooMuchY += mScrollBarSize;
} }

@ -25,84 +25,84 @@
#include <tqframe.h> #include <tqframe.h>
#include <tqrangecontrol.h> #include <tqrangecontrol.h>
class CStatusBarProgress : public TQFrame, public TQRangeControl class CStatusBarProgress : public TQFrame, public TQRangeControl
{ {
Q_OBJECT Q_OBJECT
public: public:
/** /**
* Possible values for orientation * Possible values for orientation
*/ */
enum Orientation { Horizontal, Vertical }; enum Orientation { Horizontal, Vertical };
/** /**
* Possible values for bar style. * Possible values for bar style.
* *
* Solid means one continuous progress bar, Blocked means a * Solid means one continuous progress bar, Blocked means a
* progress bar made up of several blocks. * progress bar made up of several blocks.
*/ */
enum BarStyle { Solid, Blocked }; enum BarStyle { Solid, Blocked };
/** /**
* Construct a default progress bar. Orientation is horizontal. * Construct a default progress bar. Orientation is horizontal.
*/ */
CStatusBarProgress(TQWidget *parent=0, const char *name=0); CStatusBarProgress(TQWidget *parent=0, const char *name=0);
/** /**
* Construct a KProgress bar with an orientation. * Construct a KProgress bar with an orientation.
*/ */
CStatusBarProgress(Orientation, TQWidget *parent=0, const char *name=0); CStatusBarProgress(Orientation, TQWidget *parent=0, const char *name=0);
/** /**
* Construct a KProgress bar with minimum, maximum and initial value. * Construct a KProgress bar with minimum, maximum and initial value.
*/ */
CStatusBarProgress(int minValue, int maxValue, int value, Orientation, CStatusBarProgress(int minValue, int maxValue, int value, Orientation,
TQWidget *parent=0, const char *name=0); TQWidget *parent=0, const char *name=0);
/** /**
* Destructor * Destructor
*/ */
~CStatusBarProgress( void ); ~CStatusBarProgress( void );
/** /**
* Set the progress bar style. Allowed values are Solid and Blocked. * Set the progress bar style. Allowed values are Solid and Blocked.
*/ */
void setBarStyle(BarStyle style); void setBarStyle(BarStyle style);
/** /**
* Set the color of the progress bar. * Set the color of the progress bar.
*/ */
void setBarColor(const TQColor &); void setBarColor(const TQColor &);
/** /**
* Set a pixmap to be shown in the progress bar. * Set a pixmap to be shown in the progress bar.
*/ */
void setBarPixmap(const TQPixmap &); void setBarPixmap(const TQPixmap &);
/** /**
* Set the orientation of the progress bar. * Set the orientation of the progress bar.
* Allowed values are Horizonzal andQt::Vertical. * Allowed values are Horizonzal and Vertical.
*/ */
void setOrientation(Orientation); void setOrientation(Orientation);
/** /**
* Retrieve the bar style. * Retrieve the bar style.
*/ */
BarStyle barStyle() const; BarStyle barStyle() const;
/** /**
* Retrieve the bar color. * Retrieve the bar color.
*/ */
const TQColor &barColor() const; const TQColor &barColor() const;
/** /**
* Retrieve the bar pixmap. * Retrieve the bar pixmap.
*/ */
const TQPixmap *barPixmap() const; const TQPixmap *barPixmap() const;
/** /**
* Retrieve the orientation. * Retrieve the orientation.
*/ */
Orientation orientation() const; Orientation orientation() const;
@ -116,19 +116,19 @@ class CStatusBarProgress : public TQFrame, public TQRangeControl
* the recommended height for vertical progress bars * the recommended height for vertical progress bars
*/ */
virtual TQSize sizeHint() const; virtual TQSize sizeHint() const;
public slots: public slots:
void setValue( int ); void setValue( int );
void setValue( int, int); void setValue( int, int);
void advance( int ); void advance( int );
void setTextEnabled( bool state ); void setTextEnabled( bool state );
void setText( const TQString &msg ); void setText( const TQString &msg );
signals: signals:
void percentageChanged(int); void percentageChanged(int);
void pressed( void ); void pressed( void );
protected: protected:
void valueChange(); void valueChange();
void rangeChange(); void rangeChange();
@ -136,7 +136,7 @@ class CStatusBarProgress : public TQFrame, public TQRangeControl
void paletteChange( const TQPalette & ); void paletteChange( const TQPalette & );
void drawContents( TQPainter * ); void drawContents( TQPainter * );
void mousePressEvent( TQMouseEvent *e ); void mousePressEvent( TQMouseEvent *e );
private: private:
TQPixmap *mBarPixmap; TQPixmap *mBarPixmap;
TQColor mBarColor; TQColor mBarColor;

@ -65,8 +65,8 @@ CharSelector::CharSelector( TQWidget* parent, const char* name )
<< i18n("The Form Feed Character (\\f)") << i18n("The Form Feed Character (\\f)")
<< i18n("The Line Feed Character (\\n)") << i18n("The Line Feed Character (\\n)")
<< i18n("The Carriage Return Character (\\r)") << i18n("The Carriage Return Character (\\r)")
<< i18n("TheQt::Horizontal Tab Character (\\t)") << i18n("The Horizontal Tab Character (\\t)")
<< i18n("TheQt::Vertical Tab Character (\\v)"); << i18n("The Vertical Tab Character (\\v)");
_type->insertStringList( items ); _type->insertStringList( items );
layout->addWidget( _type ); layout->addWidget( _type );

Loading…
Cancel
Save