summaryrefslogtreecommitdiffstats
path: root/certmanager/conf/dirservconfigpage.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /certmanager/conf/dirservconfigpage.cpp
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'certmanager/conf/dirservconfigpage.cpp')
-rw-r--r--certmanager/conf/dirservconfigpage.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/certmanager/conf/dirservconfigpage.cpp b/certmanager/conf/dirservconfigpage.cpp
index 73fad674a..fb367fd32 100644
--- a/certmanager/conf/dirservconfigpage.cpp
+++ b/certmanager/conf/dirservconfigpage.cpp
@@ -19,11 +19,11 @@
In addition, as a special exception, the copyright holders give
permission to link the code of this program with any edition of
- the Qt library by Trolltech AS, Norway (or with modified versions
- of Qt that use the same license as Qt), and distribute linked
+ the TQt library by Trolltech AS, Norway (or with modified versions
+ of TQt that use the same license as TQt), and distribute linked
combinations including the two. You must obey the GNU General
Public License in all respects for all of the code used other than
- Qt. If you modify this file, you may extend this exception to
+ TQt. If you modify this file, you may extend this exception to
your version of the file, but you are not obligated to do so. If
you do not wish to do so, delete this exception statement from
your version.
@@ -49,7 +49,7 @@
#include <kdepimmacros.h>
-#if 0 // disabled, since it is apparently confusing
+#if 0 // disabled, since it is aptqparently confusing
// For sync'ing kabldaprc
class KABSynchronizer
{
@@ -137,8 +137,8 @@ static const char s_addnewservers_componentName[] = "dirmngr";
static const char s_addnewservers_groupName[] = "LDAP";
static const char s_addnewservers_entryName[] = "add-servers";
-DirectoryServicesConfigurationPage::DirectoryServicesConfigurationPage( TQWidget * parent, const char * name )
- : KCModule( parent, name )
+DirectoryServicesConfigurationPage::DirectoryServicesConfigurationPage( TQWidget * tqparent, const char * name )
+ : KCModule( tqparent, name )
{
mConfig = Kleo::CryptoBackendFactory::instance()->config();
TQVBoxLayout* lay = new TQVBoxLayout( this, 0, KDialog::spacingHint() );
@@ -153,8 +153,8 @@ DirectoryServicesConfigurationPage::DirectoryServicesConfigurationPage( TQWidget
box->setSpacing( KDialog::spacingHint() );
lay->addWidget( box );
TQLabel* label = new TQLabel( i18n( "LDAP &timeout (minutes:seconds)" ), box );
- mTimeout = new QTimeEdit( box );
- mTimeout->setDisplay( QTimeEdit::Minutes | QTimeEdit::Seconds );
+ mTimeout = new TQTimeEdit( box );
+ mTimeout->setDisplay( TQTimeEdit::Minutes | TQTimeEdit::Seconds );
connect( mTimeout, TQT_SIGNAL( valueChanged( const TQTime& ) ), this, TQT_SLOT( slotChanged() ) );
label->setBuddy( mTimeout );
TQWidget* stretch = new TQWidget( box );
@@ -165,7 +165,7 @@ DirectoryServicesConfigurationPage::DirectoryServicesConfigurationPage( TQWidget
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->setLabel( i18n( "&Maximum number of items returned by query" ), TQt::AlignLeft | TQt::AlignVCenter );
mMaxItems->setMinValue( 0 );
connect( mMaxItems, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( slotChanged() ) );
stretch = new TQWidget( box );
@@ -235,7 +235,7 @@ void DirectoryServicesConfigurationPage::save()
KURL::List::const_iterator end = toAdd.end();
for( ; it != end; ++it ) {
// check if the URL is already in currentList
- if ( currentList.find( *it ) == currentList.end() )
+ if ( currentList.tqfind( *it ) == currentList.end() )
// if not, add it
currentList.append( *it );
}
@@ -259,10 +259,10 @@ void DirectoryServicesConfigurationPage::defaults()
extern "C"
{
- KDE_EXPORT KCModule *create_kleopatra_config_dirserv( TQWidget *parent, const char * )
+ KDE_EXPORT KCModule *create_kleopatra_config_dirserv( TQWidget *tqparent, const char * )
{
DirectoryServicesConfigurationPage *page =
- new DirectoryServicesConfigurationPage( parent, "kleopatra_config_dirserv" );
+ new DirectoryServicesConfigurationPage( tqparent, "kleopatra_config_dirserv" );
return page;
}
}