diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:14:03 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:14:03 -0600 |
commit | 9c9412b30c54468adc9e506cc76c5d113fbf5056 (patch) | |
tree | 68a0c0d5bc770fc58596b8c5624cdf33d8625027 /kppp/logview | |
parent | 2e53bd0b77676f879fad7baeecea5879bf496a7d (diff) | |
download | tdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.tar.gz tdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kppp/logview')
-rw-r--r-- | kppp/logview/main.cpp | 2 | ||||
-rw-r--r-- | kppp/logview/main.h | 2 | ||||
-rw-r--r-- | kppp/logview/monthly.cpp | 4 | ||||
-rw-r--r-- | kppp/logview/monthly.h | 6 |
4 files changed, 7 insertions, 7 deletions
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; |