summaryrefslogtreecommitdiffstats
path: root/krec/krecfileviewhelpers.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /krec/krecfileviewhelpers.h
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krec/krecfileviewhelpers.h')
-rw-r--r--krec/krecfileviewhelpers.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/krec/krecfileviewhelpers.h b/krec/krecfileviewhelpers.h
index 71881f1e..db53d911 100644
--- a/krec/krecfileviewhelpers.h
+++ b/krec/krecfileviewhelpers.h
@@ -14,10 +14,10 @@
#ifndef KRECFILEVIEWHELPERS_H
#define KRECFILEVIEWHELPERS_H
-#include <qframe.h>
-#include <qlabel.h>
-#include <qstring.h>
-#include <qpoint.h>
+#include <tqframe.h>
+#include <tqlabel.h>
+#include <tqstring.h>
+#include <tqpoint.h>
#include <kglobalsettings.h>
class QBoxLayout;
@@ -25,15 +25,15 @@ class AKLabel;
class QPopupMenu;
class KPopupMenu;
-class KRecTimeBar : public QFrame {
+class KRecTimeBar : public TQFrame {
Q_OBJECT
public:
- KRecTimeBar( QWidget*, const char* =0 );
+ KRecTimeBar( TQWidget*, const char* =0 );
~KRecTimeBar();
- void drawContents( QPainter* );
+ void drawContents( TQPainter* );
- void mouseReleaseEvent( QMouseEvent* );
+ void mouseReleaseEvent( TQMouseEvent* );
public slots:
void newPos( int );
@@ -54,10 +54,10 @@ private:
* +100 - verbose ( [XXhours:]XXmins:XXsecs:... )
*/
-class KRecTimeDisplay : public QFrame {
+class KRecTimeDisplay : public TQFrame {
Q_OBJECT
public:
- KRecTimeDisplay( QWidget*, const char* =0 );
+ KRecTimeDisplay( TQWidget*, const char* =0 );
~KRecTimeDisplay();
/// Resets the display to its defaultvalues
@@ -65,24 +65,24 @@ public:
public slots:
void newPos( int );
void newSize( int );
- void newFilename( const QString & );
+ void newFilename( const TQString & );
void newSamplingRate( int n ) { _samplingRate = n; }
void newChannels( int n ) { _channels = n; }
void newBits( int n ) { _bits = n; }
signals:
void sNewPos( int );
private slots:
- void timeContextMenu( QPopupMenu* );
- void timeContextMenu( const QPoint &);
- void sizeContextMenu( QPopupMenu* );
- void sizeContextMenu( const QPoint &);
+ void timeContextMenu( TQPopupMenu* );
+ void timeContextMenu( const TQPoint &);
+ void sizeContextMenu( TQPopupMenu* );
+ void sizeContextMenu( const TQPoint &);
void jumpToTime();
private:
- QString positionText( int, int );
- QString sizeText( int, int );
- QString formatTime( const int mode, const int samples ) const;
- QString _filename;
- QBoxLayout *_layout;
+ TQString positionText( int, int );
+ TQString sizeText( int, int );
+ TQString formatTime( const int mode, const int samples ) const;
+ TQString _filename;
+ TQBoxLayout *_layout;
AKLabel *_position, *_size;
KPopupMenu *_posmenu, *_sizemenu;
int _sizevalue, _posvalue;
@@ -90,16 +90,16 @@ private:
};
-class AKLabel : public QLabel {
+class AKLabel : public TQLabel {
Q_OBJECT
public:
- AKLabel( QWidget* p, const char* n=0, WFlags f=0 ) : QLabel( p, n, f ) { init(); }
- AKLabel( const QString& s, QWidget* p, const char* n=0, WFlags f=0 ) : QLabel( s, p, n, f ) { init(); }
- AKLabel( QWidget* w, const QString& s, QWidget* p, const char* n=0, WFlags f=0 ) : QLabel( w,s,p,n,f ) { init(); }
+ AKLabel( TQWidget* p, const char* n=0, WFlags f=0 ) : TQLabel( p, n, f ) { init(); }
+ AKLabel( const TQString& s, TQWidget* p, const char* n=0, WFlags f=0 ) : TQLabel( s, p, n, f ) { init(); }
+ AKLabel( TQWidget* w, const TQString& s, TQWidget* p, const char* n=0, WFlags f=0 ) : TQLabel( w,s,p,n,f ) { init(); }
- void mousePressEvent( QMouseEvent* );
+ void mousePressEvent( TQMouseEvent* );
signals:
- void showContextMenu( const QPoint & );
+ void showContextMenu( const TQPoint & );
private:
void init() {
setFont( KGlobalSettings::fixedFont() );