summaryrefslogtreecommitdiffstats
path: root/certmanager/conf
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 /certmanager/conf
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 'certmanager/conf')
-rw-r--r--certmanager/conf/appearanceconfigpage.cpp10
-rw-r--r--certmanager/conf/appearanceconfigpage.h2
-rw-r--r--certmanager/conf/appearanceconfigwidget.cpp84
-rw-r--r--certmanager/conf/appearanceconfigwidget.h6
-rw-r--r--certmanager/conf/configuredialog.cpp4
-rw-r--r--certmanager/conf/configuredialog.h4
-rw-r--r--certmanager/conf/dirservconfigpage.cpp66
-rw-r--r--certmanager/conf/dirservconfigpage.h4
-rw-r--r--certmanager/conf/dnorderconfigpage.cpp10
-rw-r--r--certmanager/conf/dnorderconfigpage.h2
10 files changed, 96 insertions, 96 deletions
diff --git a/certmanager/conf/appearanceconfigpage.cpp b/certmanager/conf/appearanceconfigpage.cpp
index 5d2a434cc..e0893233e 100644
--- a/certmanager/conf/appearanceconfigpage.cpp
+++ b/certmanager/conf/appearanceconfigpage.cpp
@@ -30,7 +30,7 @@
*/
#include "appearanceconfigpage.h"
-#include <qlayout.h>
+#include <tqlayout.h>
#include "appearanceconfigwidget.h"
#include <kmessagebox.h>
#include <klocale.h>
@@ -38,13 +38,13 @@
#include <kdepimmacros.h>
-AppearanceConfigurationPage::AppearanceConfigurationPage( QWidget * parent, const char * name )
+AppearanceConfigurationPage::AppearanceConfigurationPage( TQWidget * parent, const char * name )
: KCModule( parent, name )
{
- QVBoxLayout* lay = new QVBoxLayout( this );
+ TQVBoxLayout* lay = new TQVBoxLayout( this );
mWidget = new Kleo::AppearanceConfigWidget( this );
lay->addWidget( mWidget );
- connect( mWidget, SIGNAL( changed() ), this, SLOT( slotChanged() ) );
+ connect( mWidget, TQT_SIGNAL( changed() ), this, TQT_SLOT( slotChanged() ) );
#ifndef HAVE_UNBROKEN_KCMULTIDIALOG
load();
@@ -70,7 +70,7 @@ void AppearanceConfigurationPage::defaults()
extern "C"
{
- KDE_EXPORT KCModule *create_kleopatra_config_appear( QWidget *parent, const char * )
+ KDE_EXPORT KCModule *create_kleopatra_config_appear( TQWidget *parent, const char * )
{
AppearanceConfigurationPage *page =
new AppearanceConfigurationPage( parent, "kleopatra_config_appear" );
diff --git a/certmanager/conf/appearanceconfigpage.h b/certmanager/conf/appearanceconfigpage.h
index c3acea007..4713e262d 100644
--- a/certmanager/conf/appearanceconfigpage.h
+++ b/certmanager/conf/appearanceconfigpage.h
@@ -44,7 +44,7 @@ namespace Kleo {
class AppearanceConfigurationPage : public KCModule {
Q_OBJECT
public:
- AppearanceConfigurationPage( QWidget * parent=0, const char * name=0 );
+ AppearanceConfigurationPage( TQWidget * parent=0, const char * name=0 );
virtual void load();
virtual void save();
diff --git a/certmanager/conf/appearanceconfigwidget.cpp b/certmanager/conf/appearanceconfigwidget.cpp
index a3d177c2a..27797dfe7 100644
--- a/certmanager/conf/appearanceconfigwidget.cpp
+++ b/certmanager/conf/appearanceconfigwidget.cpp
@@ -49,15 +49,15 @@
#include <kfontdialog.h>
#include <kcolordialog.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qheader.h>
-#include <qcolor.h>
-#include <qfont.h>
-#include <qstring.h>
-#include <qpainter.h>
-#include <qregexp.h>
-#include <qcheckbox.h>
+#include <tqpushbutton.h>
+#include <tqlayout.h>
+#include <tqheader.h>
+#include <tqcolor.h>
+#include <tqfont.h>
+#include <tqstring.h>
+#include <tqpainter.h>
+#include <tqregexp.h>
+#include <tqcheckbox.h>
#include <assert.h>
@@ -66,8 +66,8 @@ using namespace Kleo;
class CategoryListViewItem : public QListViewItem
{
public:
- CategoryListViewItem( QListView* lv, QListViewItem* prev, const KConfigBase& config )
- : QListViewItem( lv, prev ) {
+ CategoryListViewItem( TQListView* lv, TQListViewItem* prev, const KConfigBase& config )
+ : TQListViewItem( lv, prev ) {
setName( config.readEntry( "Name", i18n("<unnamed>") ) );
mForegroundColor = config.readColorEntry( "foreground-color" );
@@ -99,9 +99,9 @@ public:
config.writeEntry( "font-strikeout", mStrikeOut );
}
- void setForegroundColor( const QColor& foreground ) { mForegroundColor = foreground; mDirty = true; }
- void setBackgroundColor( const QColor& background ) { mBackgroundColor = background; mDirty = true; }
- void setFont( const QFont& font ) {
+ void setForegroundColor( const TQColor& foreground ) { mForegroundColor = foreground; mDirty = true; }
+ void setBackgroundColor( const TQColor& background ) { mBackgroundColor = background; mDirty = true; }
+ void setFont( const TQFont& font ) {
mFont = font;
mHasFont = true;
mItalic = font.italic();
@@ -109,15 +109,15 @@ public:
mDirty = true;
}
- QColor foregroundColor() const { return mForegroundColor; }
- QColor backgroundColor() const { return mBackgroundColor; }
- QFont font() const { return mFont; }
+ TQColor foregroundColor() const { return mForegroundColor; }
+ TQColor backgroundColor() const { return mBackgroundColor; }
+ TQFont font() const { return mFont; }
void setDefaultAppearance() {
- mForegroundColor = mIsExpired ? Qt::red : QColor();
- mBackgroundColor = QColor();
+ mForegroundColor = mIsExpired ? Qt::red : TQColor();
+ mBackgroundColor = TQColor();
mHasFont = false;
- mFont = QFont();
+ mFont = TQFont();
mBold = false;
mItalic = false;
mStrikeOut = false;
@@ -135,15 +135,15 @@ public:
void toggleStrikeout() { mStrikeOut = !mStrikeOut; mDirty = true; }
private:
- void setName( const QString& name ) {
+ void setName( const TQString& name ) {
setText( 0, name );
}
- void paintCell( QPainter * p, const QColorGroup & cg, int column, int width, int alignment );
+ void paintCell( TQPainter * p, const TQColorGroup & cg, int column, int width, int alignment );
private:
- QColor mForegroundColor, mBackgroundColor;
- QFont mFont;
+ TQColor mForegroundColor, mBackgroundColor;
+ TQFont mFont;
bool mHasFont;
bool mIsExpired; // used for default settings
bool mItalic;
@@ -152,9 +152,9 @@ private:
bool mDirty;
};
-void CategoryListViewItem::paintCell( QPainter * p, const QColorGroup & cg, int column, int width, int alignment ) {
- QColorGroup _cg = cg;
- QFont font = p->font();
+void CategoryListViewItem::paintCell( TQPainter * p, const TQColorGroup & cg, int column, int width, int alignment ) {
+ TQColorGroup _cg = cg;
+ TQFont font = p->font();
if ( mHasFont )
font = mFont;
else {
@@ -168,17 +168,17 @@ void CategoryListViewItem::paintCell( QPainter * p, const QColorGroup & cg, int
p->setFont( font );
if ( mForegroundColor.isValid() )
- _cg.setColor( QColorGroup::Text, mForegroundColor );
+ _cg.setColor( TQColorGroup::Text, mForegroundColor );
if ( mBackgroundColor.isValid() )
- _cg.setColor( QColorGroup::Base, mBackgroundColor );
+ _cg.setColor( TQColorGroup::Base, mBackgroundColor );
- QListViewItem::paintCell( p, _cg, column, width, alignment );
+ TQListViewItem::paintCell( p, _cg, column, width, alignment );
}
////
Kleo::AppearanceConfigWidget::AppearanceConfigWidget (
- QWidget* parent, const char* name, WFlags fl )
+ TQWidget* parent, const char* name, WFlags fl )
: AppearanceConfigWidgetBase( parent, name, fl )
{
categoriesLV->setSorting( -1 );
@@ -196,7 +196,7 @@ AppearanceConfigWidget::~AppearanceConfigWidget()
}
-void AppearanceConfigWidget::slotSelectionChanged( QListViewItem* item )
+void AppearanceConfigWidget::slotSelectionChanged( TQListViewItem* item )
{
bool sel = item != 0;
foregroundButton->setEnabled( sel );
@@ -238,8 +238,8 @@ void AppearanceConfigWidget::load()
KConfig * config = Kleo::CryptoBackendFactory::instance()->configObject();
if ( !config )
return;
- QStringList groups = config->groupList().grep( QRegExp( "^Key Filter #\\d+$" ) );
- for ( QStringList::const_iterator it = groups.begin() ; it != groups.end() ; ++it ) {
+ TQStringList groups = config->groupList().grep( TQRegExp( "^Key Filter #\\d+$" ) );
+ for ( TQStringList::const_iterator it = groups.begin() ; it != groups.end() ; ++it ) {
KConfigGroup cfg( config, *it );
(void) new CategoryListViewItem( categoriesLV, categoriesLV->lastItem(), cfg );
}
@@ -252,16 +252,16 @@ void AppearanceConfigWidget::save()
return;
// We know (assume) that the groups in the config object haven't changed,
// so we just iterate over them and over the listviewitems, and map one-to-one.
- QStringList groups = config->groupList().grep( QRegExp( "^Key Filter #\\d+$" ) );
+ TQStringList groups = config->groupList().grep( TQRegExp( "^Key Filter #\\d+$" ) );
if ( groups.isEmpty() ) {
// If we created the default categories ourselves just now, then we need to make up their list
- QListViewItemIterator lvit( categoriesLV );
+ TQListViewItemIterator lvit( categoriesLV );
for ( ; lvit.current() ; ++lvit )
groups << lvit.current()->text( 0 );
}
- QListViewItemIterator lvit( categoriesLV );
- for ( QStringList::const_iterator it = groups.begin() ; it != groups.end() && lvit.current(); ++it, ++lvit ) {
+ TQListViewItemIterator lvit( categoriesLV );
+ for ( TQStringList::const_iterator it = groups.begin() ; it != groups.end() && lvit.current(); ++it, ++lvit ) {
CategoryListViewItem* item = static_cast<CategoryListViewItem*>(lvit.current() );
KConfigGroup cfg( config, *it );
item->save( cfg );
@@ -276,7 +276,7 @@ void AppearanceConfigWidget::slotForegroundClicked() {
Q_ASSERT( item );
if( !item )
return;
- QColor fg = item->foregroundColor();
+ TQColor fg = item->foregroundColor();
int result = KColorDialog::getColor( fg );
if ( result == KColorDialog::Accepted ) {
item->setForegroundColor( fg );
@@ -290,7 +290,7 @@ void AppearanceConfigWidget::slotBackgroundClicked() {
Q_ASSERT( item );
if( !item )
return;
- QColor bg = item->backgroundColor();
+ TQColor bg = item->backgroundColor();
int result = KColorDialog::getColor( bg );
if ( result == KColorDialog::Accepted ) {
item->setBackgroundColor( bg );
@@ -304,7 +304,7 @@ void AppearanceConfigWidget::slotFontClicked() {
Q_ASSERT( item );
if( !item )
return;
- QFont font = item->font();
+ TQFont font = item->font();
int result = KFontDialog::getFont( font );
if ( result == KFontDialog::Accepted ) {
item->setFont( font );
@@ -316,7 +316,7 @@ void AppearanceConfigWidget::slotFontClicked() {
void AppearanceConfigWidget::defaults()
{
// This simply means "default look for every category"
- QListViewItemIterator lvit( categoriesLV );
+ TQListViewItemIterator lvit( categoriesLV );
for ( ; lvit.current() ; ++lvit ) {
CategoryListViewItem* item = static_cast<CategoryListViewItem *>( lvit.current() );
item->setDefaultAppearance();
diff --git a/certmanager/conf/appearanceconfigwidget.h b/certmanager/conf/appearanceconfigwidget.h
index dc5c79766..5e7c1f8cb 100644
--- a/certmanager/conf/appearanceconfigwidget.h
+++ b/certmanager/conf/appearanceconfigwidget.h
@@ -35,7 +35,7 @@
#define APPEARANCECONFIGWIDGET_H
#include "appearanceconfigwidgetbase.h"
-#include <qstringlist.h>
+#include <tqstringlist.h>
class KConfig;
namespace Kleo {
@@ -45,7 +45,7 @@ namespace Kleo {
public:
AppearanceConfigWidget(
- QWidget * parent=0, const char * name=0, WFlags f=0 );
+ TQWidget * parent=0, const char * name=0, WFlags f=0 );
~AppearanceConfigWidget();
void load();
@@ -60,7 +60,7 @@ namespace Kleo {
protected slots:
// reimplemented from the base class
virtual void slotDefaultClicked();
- virtual void slotSelectionChanged( QListViewItem * );
+ virtual void slotSelectionChanged( TQListViewItem * );
virtual void slotForegroundClicked();
virtual void slotBackgroundClicked();
virtual void slotFontClicked();
diff --git a/certmanager/conf/configuredialog.cpp b/certmanager/conf/configuredialog.cpp
index 87976f106..e9f16f109 100644
--- a/certmanager/conf/configuredialog.cpp
+++ b/certmanager/conf/configuredialog.cpp
@@ -38,7 +38,7 @@
#include <kconfig.h>
#include <klocale.h>
-ConfigureDialog::ConfigureDialog( QWidget *parent, const char *name, bool modal )
+ConfigureDialog::ConfigureDialog( TQWidget *parent, const char *name, bool modal )
: KCMultiDialog( KDialogBase::IconList, i18n( "Configure" ), parent, name, modal )
{
KWin::setIcons( winId(), kapp->icon(), kapp->miniIcon() );
@@ -61,7 +61,7 @@ ConfigureDialog::ConfigureDialog( QWidget *parent, const char *name, bool modal
}
-void ConfigureDialog::hideEvent( QHideEvent * ) {
+void ConfigureDialog::hideEvent( TQHideEvent * ) {
KConfigGroup geometry( KGlobal::config(), "Geometry" );
geometry.writeEntry( "ConfigureDialogWidth", width() );
geometry.writeEntry( "ConfigureDialogHeight",height() );
diff --git a/certmanager/conf/configuredialog.h b/certmanager/conf/configuredialog.h
index 40b7e371b..436816dd1 100644
--- a/certmanager/conf/configuredialog.h
+++ b/certmanager/conf/configuredialog.h
@@ -41,11 +41,11 @@ class ConfigureDialog : public KCMultiDialog
Q_OBJECT
public:
- ConfigureDialog( QWidget *parent=0, const char *name=0, bool modal=true );
+ ConfigureDialog( TQWidget *parent=0, const char *name=0, bool modal=true );
~ConfigureDialog();
protected:
- void hideEvent( QHideEvent *i );
+ void hideEvent( TQHideEvent *i );
};
diff --git a/certmanager/conf/dirservconfigpage.cpp b/certmanager/conf/dirservconfigpage.cpp
index 7711ca2e2..73fad674a 100644
--- a/certmanager/conf/dirservconfigpage.cpp
+++ b/certmanager/conf/dirservconfigpage.cpp
@@ -41,11 +41,11 @@
#include <knuminput.h>
#include <kdialog.h>
-#include <qhbox.h>
-#include <qlabel.h>
-#include <qdatetimeedit.h>
-#include <qcheckbox.h>
-#include <qlayout.h>
+#include <tqhbox.h>
+#include <tqlabel.h>
+#include <tqdatetimeedit.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
#include <kdepimmacros.h>
@@ -65,25 +65,25 @@ public:
// stolen from kabc/ldapclient.cpp
const uint numHosts = mConfig.readUnsignedNumEntry( "NumSelectedHosts" );
for ( uint j = 0; j < numHosts; j++ ) {
- const QString num = QString::number( j );
+ const TQString num = TQString::number( j );
KURL url;
url.setProtocol( "ldap" );
url.setPath( "/" ); // workaround KURL parsing bug
- const QString host = mConfig.readEntry( QString( "SelectedHost" ) + num ).stripWhiteSpace();
+ const TQString host = mConfig.readEntry( TQString( "SelectedHost" ) + num ).stripWhiteSpace();
url.setHost( host );
- const int port = mConfig.readUnsignedNumEntry( QString( "SelectedPort" ) + num );
+ const int port = mConfig.readUnsignedNumEntry( TQString( "SelectedPort" ) + num );
if ( port != 0 )
url.setPort( port );
- const QString base = mConfig.readEntry( QString( "SelectedBase" ) + num ).stripWhiteSpace();
+ const TQString base = mConfig.readEntry( TQString( "SelectedBase" ) + num ).stripWhiteSpace();
url.setQuery( base );
- const QString bindDN = mConfig.readEntry( QString( "SelectedBind" ) + num ).stripWhiteSpace();
+ const TQString bindDN = mConfig.readEntry( TQString( "SelectedBind" ) + num ).stripWhiteSpace();
url.setUser( bindDN );
- const QString pwdBindDN = mConfig.readEntry( QString( "SelectedPwdBind" ) + num ).stripWhiteSpace();
+ const TQString pwdBindDN = mConfig.readEntry( TQString( "SelectedPwdBind" ) + num ).stripWhiteSpace();
url.setPass( pwdBindDN );
lst.append( url );
}
@@ -98,19 +98,19 @@ public:
KURL::List::const_iterator end = lst.end();
unsigned j = 0;
for( ; it != end; ++it, ++j ) {
- const QString num = QString::number( j );
+ const TQString num = TQString::number( j );
KURL url = *it;
Q_ASSERT( url.protocol() == "ldap" );
- mConfig.writeEntry( QString( "SelectedHost" ) + num, url.host() );
- mConfig.writeEntry( QString( "SelectedPort" ) + num, url.port() );
+ mConfig.writeEntry( TQString( "SelectedHost" ) + num, url.host() );
+ mConfig.writeEntry( TQString( "SelectedPort" ) + num, url.port() );
// KURL automatically encoded the query (e.g. for spaces inside it),
// so decode it before writing it out
- const QString base = KURL::decode_string( url.query().mid(1) );
- mConfig.writeEntry( QString( "SelectedBase" ) + num, base );
- mConfig.writeEntry( QString( "SelectedBind" ) + num, url.user() );
- mConfig.writeEntry( QString( "SelectedPwdBind" ) + num, url.pass() );
+ const TQString base = KURL::decode_string( url.query().mid(1) );
+ mConfig.writeEntry( TQString( "SelectedBase" ) + num, base );
+ mConfig.writeEntry( TQString( "SelectedBind" ) + num, url.user() );
+ mConfig.writeEntry( TQString( "SelectedPwdBind" ) + num, url.pass() );
}
mConfig.sync();
}
@@ -137,43 +137,43 @@ static const char s_addnewservers_componentName[] = "dirmngr";
static const char s_addnewservers_groupName[] = "LDAP";
static const char s_addnewservers_entryName[] = "add-servers";
-DirectoryServicesConfigurationPage::DirectoryServicesConfigurationPage( QWidget * parent, const char * name )
+DirectoryServicesConfigurationPage::DirectoryServicesConfigurationPage( TQWidget * parent, const char * name )
: KCModule( parent, name )
{
mConfig = Kleo::CryptoBackendFactory::instance()->config();
- QVBoxLayout* lay = new QVBoxLayout( this, 0, KDialog::spacingHint() );
+ TQVBoxLayout* lay = new TQVBoxLayout( this, 0, KDialog::spacingHint() );
Kleo::CryptoConfigEntry* entry = configEntry( s_dirserv_componentName, s_dirserv_groupName, s_dirserv_entryName,
Kleo::CryptoConfigEntry::ArgType_LDAPURL, true );
mWidget = new Kleo::DirectoryServicesWidget( entry, this );
lay->addWidget( mWidget );
- connect( mWidget, SIGNAL( changed() ), this, SLOT( slotChanged() ) );
+ connect( mWidget, TQT_SIGNAL( changed() ), this, TQT_SLOT( slotChanged() ) );
// LDAP timeout
- QHBox* box = new QHBox( this );
+ TQHBox* box = new TQHBox( this );
box->setSpacing( KDialog::spacingHint() );
lay->addWidget( box );
- QLabel* label = new QLabel( i18n( "LDAP &timeout (minutes:seconds)" ), box );
+ TQLabel* label = new TQLabel( i18n( "LDAP &timeout (minutes:seconds)" ), box );
mTimeout = new QTimeEdit( box );
mTimeout->setDisplay( QTimeEdit::Minutes | QTimeEdit::Seconds );
- connect( mTimeout, SIGNAL( valueChanged( const QTime& ) ), this, SLOT( slotChanged() ) );
+ connect( mTimeout, TQT_SIGNAL( valueChanged( const TQTime& ) ), this, TQT_SLOT( slotChanged() ) );
label->setBuddy( mTimeout );
- QWidget* stretch = new QWidget( box );
+ TQWidget* stretch = new TQWidget( box );
box->setStretchFactor( stretch, 2 );
// Max number of items returned by queries
- box = new QHBox( this );
+ box = new TQHBox( this );
box->setSpacing( KDialog::spacingHint() );
lay->addWidget( box );
mMaxItems = new KIntNumInput( box );
mMaxItems->setLabel( i18n( "&Maximum number of items returned by query" ), Qt::AlignLeft | Qt::AlignVCenter );
mMaxItems->setMinValue( 0 );
- connect( mMaxItems, SIGNAL( valueChanged(int) ), this, SLOT( slotChanged() ) );
- stretch = new QWidget( box );
+ connect( mMaxItems, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( slotChanged() ) );
+ stretch = new TQWidget( box );
box->setStretchFactor( stretch, 2 );
#ifdef NOT_USEFUL_CURRENTLY
- mAddNewServersCB = new QCheckBox( i18n( "Automatically add &new servers discovered in CRL distribution points" ), this );
- connect( mAddNewServersCB, SIGNAL( clicked() ), this, SLOT( slotChanged() ) );
+ mAddNewServersCB = new TQCheckBox( i18n( "Automatically add &new servers discovered in CRL distribution points" ), this );
+ connect( mAddNewServersCB, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotChanged() ) );
lay->addWidget( mAddNewServersCB );
#endif
@@ -188,7 +188,7 @@ void DirectoryServicesConfigurationPage::load()
mTimeoutConfigEntry = configEntry( s_timeout_componentName, s_timeout_groupName, s_timeout_entryName, Kleo::CryptoConfigEntry::ArgType_UInt, false );
if ( mTimeoutConfigEntry ) {
- QTime time = QTime().addSecs( mTimeoutConfigEntry->uintValue() );
+ TQTime time = TQTime().addSecs( mTimeoutConfigEntry->uintValue() );
//kdDebug() << "timeout:" << mTimeoutConfigEntry->uintValue() << " -> " << time << endl;
mTimeout->setTime( time );
}
@@ -212,7 +212,7 @@ void DirectoryServicesConfigurationPage::save()
{
mWidget->save();
- QTime time( mTimeout->time() );
+ TQTime time( mTimeout->time() );
unsigned int timeout = time.minute() * 60 + time.second();
if ( mTimeoutConfigEntry && mTimeoutConfigEntry->uintValue() != timeout )
mTimeoutConfigEntry->setUIntValue( timeout );
@@ -259,7 +259,7 @@ void DirectoryServicesConfigurationPage::defaults()
extern "C"
{
- KDE_EXPORT KCModule *create_kleopatra_config_dirserv( QWidget *parent, const char * )
+ KDE_EXPORT KCModule *create_kleopatra_config_dirserv( TQWidget *parent, const char * )
{
DirectoryServicesConfigurationPage *page =
new DirectoryServicesConfigurationPage( parent, "kleopatra_config_dirserv" );
diff --git a/certmanager/conf/dirservconfigpage.h b/certmanager/conf/dirservconfigpage.h
index 8c7c75439..2ec688204 100644
--- a/certmanager/conf/dirservconfigpage.h
+++ b/certmanager/conf/dirservconfigpage.h
@@ -53,7 +53,7 @@ namespace Kleo {
class KDE_EXPORT DirectoryServicesConfigurationPage : public KCModule {
Q_OBJECT
public:
- DirectoryServicesConfigurationPage( QWidget * parent=0, const char * name=0 );
+ DirectoryServicesConfigurationPage( TQWidget * parent=0, const char * name=0 );
virtual void load();
virtual void save();
@@ -72,7 +72,7 @@ private:
Kleo::DirectoryServicesWidget* mWidget;
QTimeEdit* mTimeout;
KIntNumInput* mMaxItems;
- QCheckBox* mAddNewServersCB;
+ TQCheckBox* mAddNewServersCB;
Kleo::CryptoConfigEntry* mTimeoutConfigEntry;
Kleo::CryptoConfigEntry* mMaxItemsConfigEntry;
diff --git a/certmanager/conf/dnorderconfigpage.cpp b/certmanager/conf/dnorderconfigpage.cpp
index 44b86b5b8..bc358f912 100644
--- a/certmanager/conf/dnorderconfigpage.cpp
+++ b/certmanager/conf/dnorderconfigpage.cpp
@@ -36,16 +36,16 @@
#include <kdepimmacros.h>
-#include <qlayout.h>
+#include <tqlayout.h>
-DNOrderConfigPage::DNOrderConfigPage( QWidget * parent, const char * name )
+DNOrderConfigPage::DNOrderConfigPage( TQWidget * parent, const char * name )
: KCModule( parent, name )
{
- QVBoxLayout * vlay = new QVBoxLayout( this );
+ TQVBoxLayout * vlay = new TQVBoxLayout( this );
mWidget = Kleo::DNAttributeMapper::instance()->configWidget( this, "mWidget" );
vlay->addWidget( mWidget );
- connect( mWidget, SIGNAL(changed()), SLOT(slotChanged()) );
+ connect( mWidget, TQT_SIGNAL(changed()), TQT_SLOT(slotChanged()) );
#ifndef HAVE_UNBROKEN_KCMULTIDIALOG
load();
@@ -70,7 +70,7 @@ void DNOrderConfigPage::slotChanged() {
emit changed(true);
}
-extern "C" KDE_EXPORT KCModule * create_kleopatra_config_dnorder( QWidget * parent, const char * ) {
+extern "C" KDE_EXPORT KCModule * create_kleopatra_config_dnorder( TQWidget * parent, const char * ) {
return new DNOrderConfigPage( parent, "kleopatra_config_dnorder" );
}
diff --git a/certmanager/conf/dnorderconfigpage.h b/certmanager/conf/dnorderconfigpage.h
index c874c7527..aedc0e829 100644
--- a/certmanager/conf/dnorderconfigpage.h
+++ b/certmanager/conf/dnorderconfigpage.h
@@ -44,7 +44,7 @@ namespace Kleo {
class DNOrderConfigPage : public KCModule {
Q_OBJECT
public:
- DNOrderConfigPage( QWidget * parent=0, const char * name=0 );
+ DNOrderConfigPage( TQWidget * parent=0, const char * name=0 );
/*! reimplementation */
void load();