summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/gadu/gaduaccount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/gadu/gaduaccount.cpp')
-rw-r--r--kopete/protocols/gadu/gaduaccount.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/kopete/protocols/gadu/gaduaccount.cpp b/kopete/protocols/gadu/gaduaccount.cpp
index f9a725ee..542211f5 100644
--- a/kopete/protocols/gadu/gaduaccount.cpp
+++ b/kopete/protocols/gadu/gaduaccount.cpp
@@ -70,12 +70,12 @@ public:
KFileDialog* saveListDialog;
KFileDialog* loadListDialog;
- KActionMenu* actionMenu_;
- KAction* searchAction;
- KAction* listputAction;
- KAction* listToFileAction;
- KAction* listFromFileAction;
- KAction* friendsModeAction;
+ TDEActionMenu* actionMenu_;
+ TDEAction* searchAction;
+ TDEAction* listputAction;
+ TDEAction* listToFileAction;
+ TDEAction* listFromFileAction;
+ TDEAction* friendsModeAction;
bool connectWithSSL;
int currentServer;
@@ -183,19 +183,19 @@ GaduAccount::~GaduAccount()
void
GaduAccount::initActions()
{
- p->searchAction = new KAction( i18n( "&Search for Friends" ), "", 0,
+ p->searchAction = new TDEAction( i18n( "&Search for Friends" ), "", 0,
this, TQT_SLOT( slotSearch() ), this, "actionSearch" );
- p->listputAction = new KAction( i18n( "Export Contacts to Server" ), "", 0,
+ p->listputAction = new TDEAction( i18n( "Export Contacts to Server" ), "", 0,
this, TQT_SLOT( slotExportContactsList() ), this, "actionListput" );
- p->listToFileAction = new KAction( i18n( "Export Contacts to File..." ), "", 0,
+ p->listToFileAction = new TDEAction( i18n( "Export Contacts to File..." ), "", 0,
this, TQT_SLOT( slotExportContactsListToFile() ), this, "actionListputFile" );
- p->listFromFileAction = new KAction( i18n( "Import Contacts From File..." ), "", 0,
+ p->listFromFileAction = new TDEAction( i18n( "Import Contacts From File..." ), "", 0,
this, TQT_SLOT( slotImportContactsFromFile() ), this, "actionListgetFile" );
- p->friendsModeAction = new KToggleAction( i18n( "Only for Friends" ), "", 0,
+ p->friendsModeAction = new TDEToggleAction( i18n( "Only for Friends" ), "", 0,
this, TQT_SLOT( slotFriendsMode() ), this,
"actionFriendsMode" );
- static_cast<KToggleAction*>(p->friendsModeAction)->setChecked( p->forFriends );
+ static_cast<TDEToggleAction*>(p->friendsModeAction)->setChecked( p->forFriends );
}
void
@@ -246,12 +246,12 @@ GaduAccount::setAway( bool isAway, const TQString& awayMessage )
}
-KActionMenu*
+TDEActionMenu*
GaduAccount::actionMenu()
{
kdDebug(14100) << "actionMenu() " << endl;
- p->actionMenu_ = new KActionMenu( accountId(), myself()->onlineStatus().iconFor( this ), this );
+ p->actionMenu_ = new TDEActionMenu( accountId(), myself()->onlineStatus().iconFor( this ), this );
p->actionMenu_->popupMenu()->insertTitle( myself()->onlineStatus().iconFor( myself() ), i18n( "%1 <%2> " ).
arg( myself()->property( Kopete::Global::Properties::self()->nickName()).value().toString(), accountId() ) );
@@ -286,23 +286,23 @@ GaduAccount::actionMenu()
else {
p->listFromFileAction->setEnabled( TRUE );
}
- p->actionMenu_->insert( new KAction( i18n( "Go O&nline" ),
+ p->actionMenu_->insert( new TDEAction( i18n( "Go O&nline" ),
GaduProtocol::protocol()->convertStatus( GG_STATUS_AVAIL ).iconFor( this ),
0, this, TQT_SLOT( slotGoOnline() ), this, "actionGaduConnect" ) );
- p->actionMenu_->insert( new KAction( i18n( "Set &Busy" ),
+ p->actionMenu_->insert( new TDEAction( i18n( "Set &Busy" ),
GaduProtocol::protocol()->convertStatus( GG_STATUS_BUSY ).iconFor( this ),
0, this, TQT_SLOT( slotGoBusy() ), this, "actionGaduConnect" ) );
- p->actionMenu_->insert( new KAction( i18n( "Set &Invisible" ),
+ p->actionMenu_->insert( new TDEAction( i18n( "Set &Invisible" ),
GaduProtocol::protocol()->convertStatus( GG_STATUS_INVISIBLE ).iconFor( this ),
0, this, TQT_SLOT( slotGoInvisible() ), this, "actionGaduConnect" ) );
- p->actionMenu_->insert( new KAction( i18n( "Go &Offline" ),
+ p->actionMenu_->insert( new TDEAction( i18n( "Go &Offline" ),
GaduProtocol::protocol()->convertStatus( GG_STATUS_NOT_AVAIL ).iconFor( this ),
0, this, TQT_SLOT( slotGoOffline() ), this, "actionGaduConnect" ) );
- p->actionMenu_->insert( new KAction( i18n( "Set &Description..." ), "info",
+ p->actionMenu_->insert( new TDEAction( i18n( "Set &Description..." ), "info",
0, this, TQT_SLOT( slotDescription() ), this, "actionGaduDescription" ) );
p->actionMenu_->insert( p->friendsModeAction );