summaryrefslogtreecommitdiffstats
path: root/kate/utils/dockviewbase.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kate/utils/dockviewbase.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/utils/dockviewbase.cpp')
-rw-r--r--kate/utils/dockviewbase.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/kate/utils/dockviewbase.cpp b/kate/utils/dockviewbase.cpp
index 54a4d6d6e..76e5844ed 100644
--- a/kate/utils/dockviewbase.cpp
+++ b/kate/utils/dockviewbase.cpp
@@ -19,8 +19,8 @@
#include "dockviewbase.h"
#include "dockviewbase.moc"
-#include <qlabel.h>
-#include <qlayout.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
//#include <kdebug.h>
@@ -29,22 +29,22 @@ namespace Kate {
// data storage
class DockViewBasePrivate {
public:
- QWidget *header;
- QLabel *lTitle;
- QLabel *lPrefix;
+ TQWidget *header;
+ TQLabel *lTitle;
+ TQLabel *lPrefix;
};
}
-Kate::DockViewBase::DockViewBase( QWidget* parent, const char* name )
- : QVBox( parent, name ),
+Kate::DockViewBase::DockViewBase( TQWidget* parent, const char* name )
+ : TQVBox( parent, name ),
d ( new Kate::DockViewBasePrivate )
{
- init( QString::null, QString::null );
+ init( TQString::null, TQString::null );
}
-Kate::DockViewBase::DockViewBase( const QString &prefix, const QString &title, QWidget* parent, const char* name )
- : QVBox( parent, name ),
+Kate::DockViewBase::DockViewBase( const TQString &prefix, const TQString &title, TQWidget* parent, const char* name )
+ : TQVBox( parent, name ),
d ( new Kate::DockViewBasePrivate )
{
init( prefix, title );
@@ -55,45 +55,45 @@ Kate::DockViewBase::~DockViewBase()
delete d;
}
-void Kate::DockViewBase::setTitlePrefix( const QString &prefix )
+void Kate::DockViewBase::setTitlePrefix( const TQString &prefix )
{
d->lPrefix->setText( prefix );
d->lPrefix->show();
}
-QString Kate::DockViewBase::titlePrefix() const
+TQString Kate::DockViewBase::titlePrefix() const
{
return d->lPrefix->text();
}
-void Kate::DockViewBase::setTitle( const QString &title )
+void Kate::DockViewBase::setTitle( const TQString &title )
{
d->lTitle->setText( title );
d->lTitle->show();
}
-QString Kate::DockViewBase::title() const
+TQString Kate::DockViewBase::title() const
{
return d->lTitle->text();
}
-void Kate::DockViewBase::setTitle( const QString &prefix, const QString &title )
+void Kate::DockViewBase::setTitle( const TQString &prefix, const TQString &title )
{
setTitlePrefix( prefix );
setTitle( title );
}
-void Kate::DockViewBase::init( const QString &prefix, const QString &title )
+void Kate::DockViewBase::init( const TQString &prefix, const TQString &title )
{
setSpacing( 4 );
- d->header = new QWidget( this );
- d->header->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed, true ) );
- QHBoxLayout *lo = new QHBoxLayout( d->header );
+ d->header = new TQWidget( this );
+ d->header->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed, true ) );
+ TQHBoxLayout *lo = new TQHBoxLayout( d->header );
lo->setSpacing( 6 );
lo->insertSpacing( 0, 6 );
- d->lPrefix = new QLabel( title, d->header );
+ d->lPrefix = new TQLabel( title, d->header );
lo->addWidget( d->lPrefix );
- d->lTitle = new QLabel( title, d->header );
+ d->lTitle = new TQLabel( title, d->header );
lo->addWidget( d->lTitle );
lo->setStretchFactor( d->lTitle, 1 );
lo->insertSpacing( -1, 6 );