summaryrefslogtreecommitdiffstats
path: root/libkdepim/embeddedurlpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/embeddedurlpage.cpp')
-rw-r--r--libkdepim/embeddedurlpage.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/libkdepim/embeddedurlpage.cpp b/libkdepim/embeddedurlpage.cpp
index 1a48b8666..d01205742 100644
--- a/libkdepim/embeddedurlpage.cpp
+++ b/libkdepim/embeddedurlpage.cpp
@@ -27,23 +27,23 @@
#include <kparts/part.h>
#include <kmimetype.h>
#include <klocale.h>
-#include <qlayout.h>
-#include <qlabel.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
using namespace KPIM;
-EmbeddedURLPage::EmbeddedURLPage( const QString &url, const QString &mimetype,
- QWidget *parent, const char *name )
- : QWidget( parent, name ), mUri(url), mMimeType( mimetype ), mPart( 0 )
+EmbeddedURLPage::EmbeddedURLPage( const TQString &url, const TQString &mimetype,
+ TQWidget *parent, const char *name )
+ : TQWidget( parent, name ), mUri(url), mMimeType( mimetype ), mPart( 0 )
{
initGUI( url, mimetype );
}
-void EmbeddedURLPage::initGUI( const QString &url, const QString &/*mimetype*/ )
+void EmbeddedURLPage::initGUI( const TQString &url, const TQString &/*mimetype*/ )
{
- QVBoxLayout *layout = new QVBoxLayout( this );
+ TQVBoxLayout *layout = new TQVBoxLayout( this );
layout->setAutoAdd( true );
- new QLabel( i18n("Showing URL %1").arg( url ), this );
+ new TQLabel( i18n("Showing URL %1").arg( url ), this );
}
void EmbeddedURLPage::loadContents()
@@ -51,20 +51,20 @@ void EmbeddedURLPage::loadContents()
if ( !mPart ) {
if ( mMimeType.isEmpty() || mUri.isEmpty() )
return;
- QString mimetype = mMimeType;
+ TQString mimetype = mMimeType;
if ( mimetype == "auto" )
mimetype == KMimeType::findByURL( mUri )->name();
// "this" is both the parent widget and the parent object
- mPart = KParts::ComponentFactory::createPartInstanceFromQuery<KParts::ReadOnlyPart>( mimetype, QString::null, this, 0, this, 0 );
+ mPart = KParts::ComponentFactory::createPartInstanceFromQuery<KParts::ReadOnlyPart>( mimetype, TQString::null, this, 0, this, 0 );
if ( mPart ) {
mPart->openURL( mUri );
mPart->widget()->show();
}
//void KParts::BrowserExtension::openURLRequestDelayed( const KURL &url, const KParts::URLArgs &args = KParts::URLArgs() )
KParts::BrowserExtension* be = KParts::BrowserExtension::childObject( mPart );
- connect( be, SIGNAL( openURLRequestDelayed( const KURL &, const KParts::URLArgs & ) ),
-// mPart, SLOT( openURL( const KURL & ) ) );
- this, SIGNAL( openURL( const KURL & ) ) );
+ connect( be, TQT_SIGNAL( openURLRequestDelayed( const KURL &, const KParts::URLArgs & ) ),
+// mPart, TQT_SLOT( openURL( const KURL & ) ) );
+ this, TQT_SIGNAL( openURL( const KURL & ) ) );
}
}