summaryrefslogtreecommitdiffstats
path: root/vcs/perforce
diff options
context:
space:
mode:
Diffstat (limited to 'vcs/perforce')
-rw-r--r--vcs/perforce/README.dox2
-rw-r--r--vcs/perforce/commitdlg.cpp2
-rw-r--r--vcs/perforce/commitdlg.h2
-rw-r--r--vcs/perforce/perforcepart.cpp16
-rw-r--r--vcs/perforce/perforcepart.h4
5 files changed, 13 insertions, 13 deletions
diff --git a/vcs/perforce/README.dox b/vcs/perforce/README.dox
index 2c3fc3d8..fe9caa26 100644
--- a/vcs/perforce/README.dox
+++ b/vcs/perforce/README.dox
@@ -8,7 +8,7 @@ Integrates the perforce version managment system into KDevelop.
\feature edit, revert and submit
\feature use the diff frontend (also removes the crappy perforce diff headers)
-\feature Uses KAction, so you can assign your favourite shortcuts to the commands.
+\feature Uses TDEAction, so you can assign your favourite shortcuts to the commands.
\requirement Perforce 2003.1 http://www.perforce.com/perforce/products.html
diff --git a/vcs/perforce/commitdlg.cpp b/vcs/perforce/commitdlg.cpp
index e3b64da7..abfa1683 100644
--- a/vcs/perforce/commitdlg.cpp
+++ b/vcs/perforce/commitdlg.cpp
@@ -48,7 +48,7 @@ CommitDialog::CommitDialog( TQWidget *parent, const char *name )
clientEdit = new KLineEdit( w );
userEdit = new KLineEdit( w );
- filesBox = new KListBox( w );
+ filesBox = new TDEListBox( w );
layout = new TQVBoxLayout( w, 0, spacingHint() );
TQLabel *clientLabel = new TQLabel(i18n("C&lient:"), w);
diff --git a/vcs/perforce/commitdlg.h b/vcs/perforce/commitdlg.h
index e9cdb1e1..ce870185 100644
--- a/vcs/perforce/commitdlg.h
+++ b/vcs/perforce/commitdlg.h
@@ -51,7 +51,7 @@ private:
void setDepotFiles( const TQStringList& lst );
TQTextEdit *edit;
KLineEdit *clientEdit, *userEdit;
- KListBox *filesBox;
+ TDEListBox *filesBox;
};
#endif
diff --git a/vcs/perforce/perforcepart.cpp b/vcs/perforce/perforcepart.cpp
index 45ea039b..19df30a7 100644
--- a/vcs/perforce/perforcepart.cpp
+++ b/vcs/perforce/perforcepart.cpp
@@ -54,31 +54,31 @@ PerforcePart::~PerforcePart()
void PerforcePart::setupActions()
{
- actionEdit = new KAction( i18n("Edit"), 0, this, TQT_SLOT(slotActionEdit()),
+ actionEdit = new TDEAction( i18n("Edit"), 0, this, TQT_SLOT(slotActionEdit()),
actionCollection(), "perforce_edit" );
actionEdit->setToolTip(i18n("Edit"));
actionEdit->setWhatsThis(i18n("<b>Edit</b><p>Opens file(s) in a client workspace for edit."));
- actionRevert = new KAction( i18n("Revert"), 0, this, TQT_SLOT(slotActionRevert()),
+ actionRevert = new TDEAction( i18n("Revert"), 0, this, TQT_SLOT(slotActionRevert()),
actionCollection(), "perforce_revert" );
actionRevert->setToolTip(i18n("Revert"));
actionRevert->setWhatsThis(i18n("<b>Revert</b><p>Discards changes made to open files."));
- actionSubmit = new KAction( i18n("Submit"), 0, this, TQT_SLOT(slotActionCommit()),
+ actionSubmit = new TDEAction( i18n("Submit"), 0, this, TQT_SLOT(slotActionCommit()),
actionCollection(), "perforce_submit" );
actionSubmit->setToolTip(i18n("Submit"));
actionSubmit->setWhatsThis(i18n("<b>Submit</b><p>Sends changes made to open files to the depot."));
- actionSync = new KAction( i18n("Sync"), 0, this, TQT_SLOT(slotActionUpdate()),
+ actionSync = new TDEAction( i18n("Sync"), 0, this, TQT_SLOT(slotActionUpdate()),
actionCollection(), "perforce_sync" );
actionSync->setToolTip(i18n("Sync"));
actionSync->setWhatsThis(i18n("<b>Sync</b><p>Copies files from the depot into the workspace."));
- actionDiff = new KAction( i18n("Diff Against Repository"), 0, this, TQT_SLOT(slotActionDiff()),
+ actionDiff = new TDEAction( i18n("Diff Against Repository"), 0, this, TQT_SLOT(slotActionDiff()),
actionCollection(), "perforce_diff" );
actionDiff->setToolTip(i18n("Diff against repository"));
actionDiff->setWhatsThis(i18n("<b>Diff against repository</b><p>Compares a client workspace file to a revision in the depot."));
- actionAdd = new KAction( i18n("Add to Repository"), 0, this, TQT_SLOT(slotActionAdd()),
+ actionAdd = new TDEAction( i18n("Add to Repository"), 0, this, TQT_SLOT(slotActionAdd()),
actionCollection(), "perforce_add" );
actionAdd->setToolTip(i18n("Add to repository"));
actionAdd->setWhatsThis(i18n("<b>Add to repository</b><p>Open file(s) in a client workspace for addition to the depot."));
- actionRemove = new KAction( i18n("Remove From Repository"), 0, this, TQT_SLOT(slotActionRemove()),
+ actionRemove = new TDEAction( i18n("Remove From Repository"), 0, this, TQT_SLOT(slotActionRemove()),
actionCollection(), "perforce_remove" );
actionRemove->setToolTip(i18n("Remove from repository"));
actionRemove->setWhatsThis(i18n("<b>Remove from repository</b><p>Open file(s) in a client workspace for deletion from the depot."));
@@ -92,7 +92,7 @@ void PerforcePart::contextMenu(TQPopupMenu *popup, const Context *context)
TQFileInfo fi( popupfile );
popup->insertSeparator();
- KPopupMenu *sub = new KPopupMenu(popup);
+ TDEPopupMenu *sub = new TDEPopupMenu(popup);
TQString name = fi.fileName();
sub->insertTitle( i18n("Actions for %1").arg(name) );
diff --git a/vcs/perforce/perforcepart.h b/vcs/perforce/perforcepart.h
index 462f53f6..81a94e1c 100644
--- a/vcs/perforce/perforcepart.h
+++ b/vcs/perforce/perforcepart.h
@@ -18,7 +18,7 @@
class Context;
class TQPopupMenu;
-class KAction;
+class TDEAction;
class PerforcePart : public KDevVersionControl
{
@@ -72,7 +72,7 @@ private:
void execCommand( const TQString& cmd, const TQString& filename );
void setupActions();
TQString popupfile;
- KAction *actionEdit, *actionRevert,
+ TDEAction *actionEdit, *actionRevert,
*actionSubmit, *actionSync,
*actionDiff, *actionAdd, *actionRemove;
};