summaryrefslogtreecommitdiffstats
path: root/languages/java
diff options
context:
space:
mode:
Diffstat (limited to 'languages/java')
-rw-r--r--languages/java/app_templates/kappjava/app.java6
-rw-r--r--languages/java/configproblemreporter.ui2
-rw-r--r--languages/java/javasupportpart.cpp4
-rw-r--r--languages/java/javasupportpart.h2
-rw-r--r--languages/java/problemreporter.cpp10
-rw-r--r--languages/java/problemreporter.h2
6 files changed, 13 insertions, 13 deletions
diff --git a/languages/java/app_templates/kappjava/app.java b/languages/java/app_templates/kappjava/app.java
index d6424f73..40bc6b93 100644
--- a/languages/java/app_templates/kappjava/app.java
+++ b/languages/java/app_templates/kappjava/app.java
@@ -14,7 +14,7 @@ import org.kde.koala.*;
* @author $AUTHOR <$EMAIL>
* @version $APP_VERSION
*/
-public class %{APPNAME} extends KMainWindow
+public class %{APPNAME} extends TDEMainWindow
{
private %{APPNAME}View m_view;
private QPrinter m_printer;
@@ -27,7 +27,7 @@ public class %{APPNAME} extends KMainWindow
// accept dnd
setAcceptDrops(true);
- // tell the KMainWindow that this is indeed the main widget
+ // tell the TDEMainWindow that this is indeed the main widget
setCentralWidget(m_view);
// then, setup our actions
@@ -88,7 +88,7 @@ public void setupActions()
// this doesn't do anything useful. it's just here to illustrate
// how to insert a custom menu and menu item
- KAction custom = new KAction(tr("Cus&tom Menuitem"), new KShortcut(),
+ TDEAction custom = new TDEAction(tr("Cus&tom Menuitem"), new TDEShortcut(),
this, SLOT("optionsPreferences()"),
actionCollection(), "custom_action");
}
diff --git a/languages/java/configproblemreporter.ui b/languages/java/configproblemreporter.ui
index a4852fd5..a0e1ca39 100644
--- a/languages/java/configproblemreporter.ui
+++ b/languages/java/configproblemreporter.ui
@@ -103,7 +103,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="KListView" row="0" column="0" rowspan="5" colspan="1">
+ <widget class="TDEListView" row="0" column="0" rowspan="5" colspan="1">
<column>
<property name="text">
<string></string>
diff --git a/languages/java/javasupportpart.cpp b/languages/java/javasupportpart.cpp
index 23ae1cc7..c868afa5 100644
--- a/languages/java/javasupportpart.cpp
+++ b/languages/java/javasupportpart.cpp
@@ -155,9 +155,9 @@ JavaSupportPart::JavaSupportPart(TQObject *parent, const char *name, const TQStr
connect( core(), TQT_SIGNAL(configWidget(KDialogBase*)),
this, TQT_SLOT(configWidget(KDialogBase*)) );
- KAction *action;
+ TDEAction *action;
- action = new KAction(i18n("New Class..."), "classnew", 0,
+ action = new TDEAction(i18n("New Class..."), "classnew", 0,
this, TQT_SLOT(slotNewClass()),
actionCollection(), "project_newclass");
action->setToolTip( i18n("Generate a new class") );
diff --git a/languages/java/javasupportpart.h b/languages/java/javasupportpart.h
index 54e1d57f..b71ca95c 100644
--- a/languages/java/javasupportpart.h
+++ b/languages/java/javasupportpart.h
@@ -33,7 +33,7 @@ class TQLabel;
class TQProgressBar;
class TQStringList;
class TQListViewItem;
-class KListView;
+class TDEListView;
class Driver;
namespace KParts { class Part; }
diff --git a/languages/java/problemreporter.cpp b/languages/java/problemreporter.cpp
index a451abf3..4570efc7 100644
--- a/languages/java/problemreporter.cpp
+++ b/languages/java/problemreporter.cpp
@@ -51,16 +51,16 @@
#include <tqgroupbox.h>
-class ProblemItem: public KListViewItem
+class ProblemItem: public TDEListViewItem
{
public:
ProblemItem( TQListView* parent, const TQString& level, const TQString& problem,
const TQString& file, const TQString& line, const TQString& column )
- : KListViewItem( parent, level, problem, file, line, column ) {}
+ : TDEListViewItem( parent, level, problem, file, line, column ) {}
ProblemItem( TQListViewItem* parent, const TQString& level, const TQString& problem,
const TQString& file, const TQString& line, const TQString& column )
- : KListViewItem( parent, level, problem, file, line, column ) {}
+ : TDEListViewItem( parent, level, problem, file, line, column ) {}
int compare( TQListViewItem* item, int column, bool ascending ) const {
if( column == 2 || column == 3 ){
@@ -70,13 +70,13 @@ public:
return 0;
return( a > b ? 1 : -1 );
}
- return KListViewItem::compare( item, column, ascending );
+ return TDEListViewItem::compare( item, column, ascending );
}
};
ProblemReporter::ProblemReporter( JavaSupportPart* part, TQWidget* parent, const char* name )
- : KListView( parent, name ? name : "problemreporter" ),
+ : TDEListView( parent, name ? name : "problemreporter" ),
m_javaSupport( part ),
m_document( 0 ),
m_markIface( 0 )
diff --git a/languages/java/problemreporter.h b/languages/java/problemreporter.h
index 42c26d9f..dace638b 100644
--- a/languages/java/problemreporter.h
+++ b/languages/java/problemreporter.h
@@ -36,7 +36,7 @@ namespace KTextEditor{
class Document;
}
-class ProblemReporter: public KListView{
+class ProblemReporter: public TDEListView{
Q_OBJECT
public: