summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/gadu/gaduaccount.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:03 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:03 -0600
commit9c9412b30c54468adc9e506cc76c5d113fbf5056 (patch)
tree68a0c0d5bc770fc58596b8c5624cdf33d8625027 /kopete/protocols/gadu/gaduaccount.cpp
parent2e53bd0b77676f879fad7baeecea5879bf496a7d (diff)
downloadtdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.tar.gz
tdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.zip
Rename a number of classes to enhance compatibility with KDE4
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 );