summaryrefslogtreecommitdiffstats
path: root/kaddressbook/viewconfigurewidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kaddressbook/viewconfigurewidget.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kaddressbook/viewconfigurewidget.cpp')
-rw-r--r--kaddressbook/viewconfigurewidget.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kaddressbook/viewconfigurewidget.cpp b/kaddressbook/viewconfigurewidget.cpp
index f8e883f0b..f75fe1cec 100644
--- a/kaddressbook/viewconfigurewidget.cpp
+++ b/kaddressbook/viewconfigurewidget.cpp
@@ -21,8 +21,8 @@
without including the source code for Qt in the source distribution.
*/
-#include <qlayout.h>
-#include <qvbox.h>
+#include <tqlayout.h>
+#include <tqvbox.h>
#include <kapplication.h>
#include <kconfig.h>
@@ -37,17 +37,17 @@
#include "viewconfigurewidget.h"
-ViewConfigureWidget::ViewConfigureWidget( KABC::AddressBook *ab, QWidget *parent,
+ViewConfigureWidget::ViewConfigureWidget( KABC::AddressBook *ab, TQWidget *parent,
const char *name )
: KAB::ConfigureWidget( ab, parent, name )
{
- QVBoxLayout *topLayout = new QVBoxLayout( this );
+ TQVBoxLayout *topLayout = new TQVBoxLayout( this );
mMainWidget = new KJanusWidget( this, "JanusWidget", KJanusWidget::IconList );
topLayout->addWidget( mMainWidget );
// Add the first page, the attributes
- QVBox *page = addPage( i18n( "Fields" ), QString::null,
+ TQVBox *page = addPage( i18n( "Fields" ), TQString::null,
KGlobal::iconLoader()->loadIcon( "view_detailed",
KIcon::Panel ) );
@@ -55,7 +55,7 @@ ViewConfigureWidget::ViewConfigureWidget( KABC::AddressBook *ab, QWidget *parent
mFieldsPage = new ViewConfigureFieldsPage( addressBook(), page );
// Add the second page, the filter selection
- page = addPage( i18n( "Default Filter" ), QString::null,
+ page = addPage( i18n( "Default Filter" ), TQString::null,
KGlobal::iconLoader()->loadIcon( "filter",
KIcon::Panel ) );
@@ -78,14 +78,14 @@ void ViewConfigureWidget::saveSettings( KConfig *config )
mFilterPage->saveSettings( config );
}
-QVBox *ViewConfigureWidget::addPage( const QString &item, const QString &header,
- const QPixmap &pixmap )
+TQVBox *ViewConfigureWidget::addPage( const TQString &item, const TQString &header,
+ const TQPixmap &pixmap )
{
return mMainWidget->addVBoxPage( item, header, pixmap );
}
-ViewConfigureDialog::ViewConfigureDialog( ViewConfigureWidget *wdg, const QString &viewName,
- QWidget *parent, const char *name )
+ViewConfigureDialog::ViewConfigureDialog( ViewConfigureWidget *wdg, const TQString &viewName,
+ TQWidget *parent, const char *name )
: KDialogBase( Swallow, i18n( "Modify View: " ) + viewName, Help | Ok | Cancel,
Ok, parent, name, true, true ), mConfigWidget( wdg )
{