summaryrefslogtreecommitdiffstats
path: root/krec/krecglobal.cpp
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/krecglobal.cpp
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/krecglobal.cpp')
-rw-r--r--krec/krecglobal.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/krec/krecglobal.cpp b/krec/krecglobal.cpp
index 94683995..58822f50 100644
--- a/krec/krecglobal.cpp
+++ b/krec/krecglobal.cpp
@@ -17,26 +17,26 @@
#include "krecexport_template.h"
#include <kconfig.h>
-#include <qwidget.h>
+#include <tqwidget.h>
#include <kapplication.h>
#include <kstatusbar.h>
#include <ktrader.h>
#include <kparts/componentfactory.h>
-#include <qvaluelist.h>
+#include <tqvaluelist.h>
#include <kservice.h>
#include <kdebug.h>
-KRecGlobal::KRecGlobal( QObject* p, const char* n )
- : QObject( p,n )
+KRecGlobal::KRecGlobal( TQObject* p, const char* n )
+ : TQObject( p,n )
, _qwidget( 0 )
, _statusbar( 0 )
, _timeformatcache( -1 )
, _framebasecache( -1 )
{
//kdDebug( 60005 ) << k_funcinfo << endl;
- _exports = new QDict<KRecExportItem>;
+ _exports = new TQDict<KRecExportItem>;
}
KRecGlobal::~KRecGlobal() {
//kdDebug( 60005 ) << k_funcinfo << endl;
@@ -48,13 +48,13 @@ KRecGlobal* KRecGlobal::the() {
return object;
}
-void KRecGlobal::setMainWidget( QWidget* n ) { _qwidget = n; }
-QWidget* KRecGlobal::mainWidget() { return _qwidget; }
+void KRecGlobal::setMainWidget( TQWidget* n ) { _qwidget = n; }
+TQWidget* KRecGlobal::mainWidget() { return _qwidget; }
KConfig* KRecGlobal::kconfig() { return kapp->config(); }
void KRecGlobal::setStatusBar( KStatusBar *bar ) { _statusbar = bar; }
-void KRecGlobal::message( const QString &text ) { if ( _statusbar ) _statusbar->message( text, 2000 ); }
+void KRecGlobal::message( const TQString &text ) { if ( _statusbar ) _statusbar->message( text, 2000 ); }
bool KRecGlobal::registerExport( KRecExportItem* item ) {
//kdDebug( 60005 ) << k_funcinfo << "About to register ExportItem for \"" << item->exportFormat() << "\" extensions:\"" << item->extensions() << "\"" << endl;
@@ -65,17 +65,17 @@ bool KRecGlobal::registerExport( KRecExportItem* item ) {
return true;
}
-KRecExportItem* KRecGlobal::getExportItem( const QString &exportFormat ) {
+KRecExportItem* KRecGlobal::getExportItem( const TQString &exportFormat ) {
KRecExportItem *tmp = _exports->find( exportFormat );
return tmp->newItem();
}
-QStringList KRecGlobal::exportFormats() const {
+TQStringList KRecGlobal::exportFormats() const {
return _exportformats;
}
-QString KRecGlobal::exportFormatEndings() const {
- QString out;
+TQString KRecGlobal::exportFormatEndings() const {
+ TQString out;
KTrader::OfferList offers = KTrader::self()->query( "KRec/exportplugin" );
KTrader::OfferList::iterator it = offers.begin();
@@ -88,7 +88,7 @@ QString KRecGlobal::exportFormatEndings() const {
return out;
}
-KRecExportItem* KRecGlobal::getExportItemForEnding( const QString &ending ) {
+KRecExportItem* KRecGlobal::getExportItemForEnding( const TQString &ending ) {
KTrader::OfferList offers = KTrader::self()->query( "KRec/exportplugin" );
KTrader::OfferList::iterator it = offers.begin();
while ( it!=offers.end() ) {