diff options
Diffstat (limited to 'src/libgui/likeback.cpp')
-rw-r--r-- | src/libgui/likeback.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/libgui/likeback.cpp b/src/libgui/likeback.cpp index 27d0933..80519e2 100644 --- a/src/libgui/likeback.cpp +++ b/src/libgui/likeback.cpp @@ -57,10 +57,10 @@ LikeBack::LikeBack(Button buttons) { TQHBoxLayout *layout = new TQHBoxLayout(this); - TQIconSet likeIconSet = kapp->iconLoader()->loadIconSet("likeback_like", KIcon::Small); - TQIconSet dislikeIconSet = kapp->iconLoader()->loadIconSet("likeback_dislike", KIcon::Small); - TQIconSet bugIconSet = kapp->iconLoader()->loadIconSet("likeback_bug", KIcon::Small); -// TQIconSet configureIconSet = kapp->iconLoader()->loadIconSet("configure", KIcon::Small); + TQIconSet likeIconSet = kapp->iconLoader()->loadIconSet("likeback_like", TDEIcon::Small); + TQIconSet dislikeIconSet = kapp->iconLoader()->loadIconSet("likeback_dislike", TDEIcon::Small); + TQIconSet bugIconSet = kapp->iconLoader()->loadIconSet("likeback_bug", TDEIcon::Small); +// TQIconSet configureIconSet = kapp->iconLoader()->loadIconSet("configure", TDEIcon::Small); TQToolButton *m_likeButton = new TQToolButton(this, "ilike"); m_likeButton->setIconSet(likeIconSet); @@ -84,7 +84,7 @@ LikeBack::LikeBack(Button buttons) layout->add(m_bugButton); m_configureButton = new TQToolButton(this, "configure"); - TQIconSet helpIconSet = kapp->iconLoader()->loadIconSet("help", KIcon::Small); + TQIconSet helpIconSet = kapp->iconLoader()->loadIconSet("help", TDEIcon::Small); m_configureButton->setIconSet(helpIconSet); m_configureButton->setTextLabel(i18n("Configure...")); m_configureButton->setAutoRaise(true); @@ -93,9 +93,9 @@ LikeBack::LikeBack(Button buttons) TQPopupMenu *configureMenu = new TQPopupMenu(this); configureMenu->insertItem(helpIconSet, i18n("What's &This?"), this , TQT_SLOT(showWhatsThisMessage()) ); - TQIconSet changeEmailIconSet = kapp->iconLoader()->loadIconSet("mail_generic", KIcon::Small); + TQIconSet changeEmailIconSet = kapp->iconLoader()->loadIconSet("mail_generic", TDEIcon::Small); configureMenu->insertItem(changeEmailIconSet, i18n("&Configure Email Address..."), this , TQT_SLOT(askEMail()) ); -// TQIconSet dontHelpIconSet = kapp->iconLoader()->loadIconSet("stop", KIcon::Small); +// TQIconSet dontHelpIconSet = kapp->iconLoader()->loadIconSet("stop", TDEIcon::Small); // configureMenu->insertItem( dontHelpIconSet, i18n("&Do not Help Anymore"), this , TQT_SLOT(doNotHelpAnymore()) ); m_configureButton->setPopup(configureMenu); connect( m_configureButton, TQT_SIGNAL(pressed()), this, TQT_SLOT(openConfigurePopup()) ); @@ -164,9 +164,9 @@ bool LikeBack::userWantToParticipate() void LikeBack::showInformationMessage() { - TQPixmap likeIcon = kapp->iconLoader()->loadIcon("likeback_like", KIcon::Small); - TQPixmap dislikeIcon = kapp->iconLoader()->loadIcon("likeback_dislike", KIcon::Small); - TQPixmap bugIcon = kapp->iconLoader()->loadIcon("likeback_bug", KIcon::Small); + TQPixmap likeIcon = kapp->iconLoader()->loadIcon("likeback_like", TDEIcon::Small); + TQPixmap dislikeIcon = kapp->iconLoader()->loadIcon("likeback_dislike", TDEIcon::Small); + TQPixmap bugIcon = kapp->iconLoader()->loadIcon("likeback_bug", TDEIcon::Small); TQMimeSourceFactory::defaultFactory()->setPixmap("likeback_icon_like", likeIcon); TQMimeSourceFactory::defaultFactory()->setPixmap("likeback_icon_dislike", dislikeIcon); TQMimeSourceFactory::defaultFactory()->setPixmap("likeback_icon_bug", bugIcon); @@ -526,21 +526,21 @@ LikeBackDialog::LikeBackDialog(LikeBack::Button reason, TQString windowName, TQS case LikeBack::ILike: color = TQColor("#DFFFDF"); lineColor = TQt::green; - icon = kapp->iconLoader()->loadIcon("likeback_like", KIcon::Small); + icon = kapp->iconLoader()->loadIcon("likeback_like", TDEIcon::Small); title = i18n("I like..."); please = i18n("Please briefly describe what you like."); break; case LikeBack::IDoNotLike: color = TQColor("#FFDFDF"); lineColor = TQt::red; - icon = kapp->iconLoader()->loadIcon("likeback_dislike", KIcon::Small); + icon = kapp->iconLoader()->loadIcon("likeback_dislike", TDEIcon::Small); title = i18n("I do not like..."); please = i18n("Please briefly describe what you do not like."); break; case LikeBack::IFoundABug: color = TQColor("#C0C0C0"); lineColor = TQt::black; - icon = kapp->iconLoader()->loadIcon("bug", KIcon::Small); + icon = kapp->iconLoader()->loadIcon("bug", TDEIcon::Small); title = i18n("I found a bug..."); please = i18n("Please briefly describe the bug you encountered."); break; @@ -578,7 +578,7 @@ LikeBackDialog::LikeBackDialog(LikeBack::Button reason, TQString windowName, TQS commentLayout->setMargin(0); commentLayout->setSpacing(KDialogBase::spacingHint()); m_comment = new TQTextEdit(coloredWidget); - TQIconSet sendIconSet = kapp->iconLoader()->loadIconSet("mail_send", KIcon::Toolbar); + TQIconSet sendIconSet = kapp->iconLoader()->loadIconSet("mail_send", TDEIcon::Toolbar); m_sendButton = new TQPushButton(sendIconSet, i18n("Send"), coloredWidget); m_sendButton->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Expanding); m_sendButton->setEnabled(false); |