diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kppp/logview/main.cpp | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kppp/logview/main.cpp')
-rw-r--r-- | kppp/logview/main.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kppp/logview/main.cpp b/kppp/logview/main.cpp index ae877158..a533da38 100644 --- a/kppp/logview/main.cpp +++ b/kppp/logview/main.cpp @@ -55,11 +55,11 @@ TopWidget::TopWidget() : KMainWindow(0, "") { setCaption(i18n("KPPP Log Viewer")); - w = new QWidget(this); + w = new TQWidget(this); - QBoxLayout *l = new QVBoxLayout(w, 5); + TQBoxLayout *l = new TQVBoxLayout(w, 5); - td = new QTabWidget(w, ""); + td = new TQTabWidget(w, ""); mw = new MonthlyWidget(td); td->addTab(mw, i18n("Monthly Log")); l->addWidget(td); @@ -68,22 +68,22 @@ TopWidget::TopWidget() : KMainWindow(0, "") { if(!kpppmode) { // create menu mb = new KMenuBar(this); - QPopupMenu *fm = new QPopupMenu; + TQPopupMenu *fm = new QPopupMenu; fm->insertItem(SmallIcon("exit"),KStdGuiItem::quit().text(), F_EXIT); mb->insertItem(i18n("&File"), fm); mb->setAccel(CTRL + Key_Q, F_EXIT); - connect(mb, SIGNAL(activated(int)), - this, SLOT(menuCallback(int))); + connect(mb, TQT_SIGNAL(activated(int)), + this, TQT_SLOT(menuCallback(int))); } else { mb = 0; - QPushButton *but = new KPushButton(KStdGuiItem::close(),w); - QHBoxLayout *lh = new QHBoxLayout(l); + TQPushButton *but = new KPushButton(KStdGuiItem::close(),w); + TQHBoxLayout *lh = new TQHBoxLayout(l); lh->addStretch(10); lh->addWidget(but); - connect(but, SIGNAL(clicked()), - kapp, SLOT(quit())); + connect(but, TQT_SIGNAL(clicked()), + kapp, TQT_SLOT(quit())); } setMinimumSize(mw->sizeHint().width() + 15, |