summaryrefslogtreecommitdiffstats
path: root/kaddressbook/viewmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/viewmanager.cpp')
-rw-r--r--kaddressbook/viewmanager.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kaddressbook/viewmanager.cpp b/kaddressbook/viewmanager.cpp
index b6ab807ba..2433d722c 100644
--- a/kaddressbook/viewmanager.cpp
+++ b/kaddressbook/viewmanager.cpp
@@ -22,7 +22,7 @@
*/
#include <tqfile.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqwidgetstack.h>
#include <libtdepim/kvcarddrag.h>
@@ -307,7 +307,7 @@ void ViewManager::editView()
void ViewManager::deleteView()
{
TQString text = i18n( "<qt>Are you sure that you want to delete the view <b>%1</b>?</qt>" )
- .tqarg( mActiveView->caption() );
+ .arg( mActiveView->caption() );
TQString caption = i18n( "Confirm Delete" );
if ( KMessageBox::warningContinueCancel( this, text, caption, KGuiItem( i18n("&Delete"), "editdelete") ) == KMessageBox::Continue ) {
@@ -348,7 +348,7 @@ void ViewManager::addView()
firstConflict = false;
}
- newName = TQString( "%1 <%2>" ).tqarg( newName ).tqarg( numTries );
+ newName = TQString( "%1 <%2>" ).arg( newName ).arg( numTries );
numTries++;
}
@@ -387,7 +387,7 @@ void ViewManager::scrollDown()
void ViewManager::createViewFactories()
{
const KTrader::OfferList plugins = KTrader::self()->query( "KAddressBook/View",
- TQString( "[X-KDE-KAddressBook-ViewPluginVersion] == %1" ).tqarg( KAB_VIEW_PLUGIN_VERSION ) );
+ TQString( "[X-KDE-KAddressBook-ViewPluginVersion] == %1" ).arg( KAB_VIEW_PLUGIN_VERSION ) );
KTrader::OfferList::ConstIterator it;
for ( it = plugins.begin(); it != plugins.end(); ++it ) {
if ( !(*it)->hasServiceType( "KAddressBook/View" ) )
@@ -601,9 +601,9 @@ void ViewManager::initActions()
void ViewManager::initGUI()
{
- TQHBoxLayout *tqlayout = new TQHBoxLayout( this );
+ TQHBoxLayout *layout = new TQHBoxLayout( this );
mViewWidgetStack = new TQWidgetStack( this );
- tqlayout->addWidget( mViewWidgetStack );
+ layout->addWidget( mViewWidgetStack );
}
#include "viewmanager.moc"