summaryrefslogtreecommitdiffstats
path: root/kab/kabapi.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kab/kabapi.cc
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kab/kabapi.cc')
-rw-r--r--kab/kabapi.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/kab/kabapi.cc b/kab/kabapi.cc
index 0f5d76222..0cf97905c 100644
--- a/kab/kabapi.cc
+++ b/kab/kabapi.cc
@@ -33,7 +33,7 @@
using namespace std;
-KabAPI::KabAPI(QWidget* parent, const char* name)
+KabAPI::KabAPI(TQWidget* parent, const char* name)
: KDialogBase(parent, name),
book(0),
listbox(new KListBox(this)),
@@ -43,19 +43,19 @@ KabAPI::KabAPI(QWidget* parent, const char* name)
setMainWidget(listbox);
showButtonApply(false);
enableButtonSeparator(true);
- connect(listbox, SIGNAL(highlighted(int)), SLOT(entrySelected(int)));
- connect(listbox, SIGNAL(doubleClicked ( QListBoxItem * )),SLOT(slotDoubleClicked ( QListBoxItem * )));
+ connect(listbox, TQT_SIGNAL(highlighted(int)), TQT_SLOT(entrySelected(int)));
+ connect(listbox, TQT_SIGNAL(doubleClicked ( TQListBoxItem * )),TQT_SLOT(slotDoubleClicked ( TQListBoxItem * )));
}
-void KabAPI::slotDoubleClicked ( QListBoxItem * )
+void KabAPI::slotDoubleClicked ( TQListBoxItem * )
{
accept();
}
int KabAPI::exec()
{
- QStringList names;
+ TQStringList names;
// -----
if(book==0)
{
@@ -90,8 +90,8 @@ AddressBook::ErrorCode KabAPI::init()
book=new AddressBook(0, "KABAPI::book", true); //change parent from "this" to "0" //dsweet
if(book->getState()==AddressBook::NoError)
{
- connect(book, SIGNAL(setStatus(const QString&)),
- SLOT(setStatusSlot(const QString&)));
+ connect(book, TQT_SIGNAL(setStatus(const TQString&)),
+ TQT_SLOT(setStatusSlot(const TQString&)));
return AddressBook::NoError;
} else {
return AddressBook::InternError;
@@ -152,7 +152,7 @@ AddressBook::ErrorCode KabAPI::remove(const KabKey& key)
// ############################################################################
}
-AddressBook::ErrorCode KabAPI::getEntryByName(const QString&,
+AddressBook::ErrorCode KabAPI::getEntryByName(const TQString&,
list<AddressBook::Entry>&, const int)
{
// ############################################################################
@@ -214,7 +214,7 @@ void KabAPI::entrySelected(int index)
selection=index;
}
-void KabAPI::setStatusSlot(const QString& text)
+void KabAPI::setStatusSlot(const TQString& text)
{
emit(setStatus(text));
}