summaryrefslogtreecommitdiffstats
path: root/kppp
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 /kppp
parent2e53bd0b77676f879fad7baeecea5879bf496a7d (diff)
downloadtdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.tar.gz
tdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kppp')
-rw-r--r--kppp/docking.h2
-rw-r--r--kppp/logview/main.cpp2
-rw-r--r--kppp/logview/main.h2
-rw-r--r--kppp/logview/monthly.cpp4
-rw-r--r--kppp/logview/monthly.h6
-rw-r--r--kppp/miniterm.cpp4
-rw-r--r--kppp/miniterm.h4
7 files changed, 12 insertions, 12 deletions
diff --git a/kppp/docking.h b/kppp/docking.h
index ad447e05..31a1f4a5 100644
--- a/kppp/docking.h
+++ b/kppp/docking.h
@@ -60,7 +60,7 @@ private:
int toggleID;
PPPStats *stats;
- KPopupMenu *popup_m;
+ TDEPopupMenu *popup_m;
TQPixmap dock_none_pixmap;
TQPixmap dock_left_pixmap;
diff --git a/kppp/logview/main.cpp b/kppp/logview/main.cpp
index 89356ea2..bdf55499 100644
--- a/kppp/logview/main.cpp
+++ b/kppp/logview/main.cpp
@@ -46,7 +46,7 @@ static KCmdLineOptions option[] =
};
-TopWidget::TopWidget() : KMainWindow(0, "") {
+TopWidget::TopWidget() : TDEMainWindow(0, "") {
// Check command line args for "-kppp"
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
diff --git a/kppp/logview/main.h b/kppp/logview/main.h
index 13df9003..8b90481e 100644
--- a/kppp/logview/main.h
+++ b/kppp/logview/main.h
@@ -26,7 +26,7 @@
#include <kmenubar.h>
#include "monthly.h"
-class TopWidget : public KMainWindow {
+class TopWidget : public TDEMainWindow {
Q_OBJECT
public:
diff --git a/kppp/logview/monthly.cpp b/kppp/logview/monthly.cpp
index 0838417d..35937219 100644
--- a/kppp/logview/monthly.cpp
+++ b/kppp/logview/monthly.cpp
@@ -172,7 +172,7 @@ MonthlyWidget::MonthlyWidget(TQWidget *parent) :
{
tl = 0;
- lv = new KListView(this);
+ lv = new TDEListView(this);
lv->addColumn(i18n("Connection"));
lv->addColumn(i18n("Day"));
lv->addColumn(i18n("From"));
@@ -198,7 +198,7 @@ MonthlyWidget::MonthlyWidget(TQWidget *parent) :
selectionItem = 0L;
connect(lv, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotSelectionChanged()));
- lv2 = new KListView(this);
+ lv2 = new TDEListView(this);
lv2->addColumn(i18n("Connection"));
lv2->addColumn(i18n("Duration"));
lv2->addColumn(i18n("Costs"));
diff --git a/kppp/logview/monthly.h b/kppp/logview/monthly.h
index c38499f5..af0d7757 100644
--- a/kppp/logview/monthly.h
+++ b/kppp/logview/monthly.h
@@ -32,7 +32,7 @@
#include <kbuttonbox.h>
-class KListView;
+class TDEListView;
class TQComboBox;
class LogListItem;
@@ -68,8 +68,8 @@ private:
TQComboBox *cboConnections;
KButtonBox *bbox;
- KListView *lv;
- KListView *lv2;
+ TDEListView *lv;
+ TDEListView *lv2;
LogListItem* selectionItem;
TQLabel *title;
TQPushButton *next, *prev, *today, *exportBttn;
diff --git a/kppp/miniterm.cpp b/kppp/miniterm.cpp
index 25d0d94a..51d1b9d2 100644
--- a/kppp/miniterm.cpp
+++ b/kppp/miniterm.cpp
@@ -100,7 +100,7 @@ MiniTerm::~MiniTerm() {
void MiniTerm::setupToolbar() {
- toolbar = new KToolBar( this );
+ toolbar = new TDEToolBar( this );
toolbar->insertButton("exit", 0,
TQT_SIGNAL(clicked()), TQT_TQOBJECT(this),
@@ -114,7 +114,7 @@ void MiniTerm::setupToolbar() {
TQT_SIGNAL(clicked()), TQT_TQOBJECT(this),
TQT_SLOT(help()), TRUE, i18n("Help"));
- toolbar->setBarPos( KToolBar::Top );
+ toolbar->setBarPos( TDEToolBar::Top );
toolbar->setMovingEnabled(false);
toolbar->updateRects(true);
}
diff --git a/kppp/miniterm.h b/kppp/miniterm.h
index 910ee0a4..e58e5603 100644
--- a/kppp/miniterm.h
+++ b/kppp/miniterm.h
@@ -38,7 +38,7 @@ class KHelpMenu;
class TQTimer;
class TQMenuBar;
-class KToolBar;
+class TDEToolBar;
class KHelpMenu;
class TQPushButton;
class TQLabel;
@@ -84,7 +84,7 @@ protected:
TQTimer *inittimer;
TQMenuBar * menubar;
- KToolBar * toolbar;
+ TDEToolBar * toolbar;
TQPopupMenu * m_file;
TQPopupMenu * m_edit;
TQPopupMenu * m_options;